Trag is a natural language superlinter designed to replace traditional linters and tools like Sonarqube for any tech stack. It allows users to define code patterns in plain English, offering both high-level and context-aware rules. The setup involves installing a GitHub application, writing custom patterns, and opening a pull request. Pricing includes a free hobby tier, a $300/month team plan, and custom pricing for enterprise solutions, with full functionality available for open source projects.
Replace all linters, Sonarqube and more with natural language superlinter for any stack.
Trusted by engineers, from
Trag can lint patterns
Describe your pattern in plain english, it can be very specific, context aware, or it can be very high level, like
High level patterns
Ensure we are not logging sensitive data.
Follow DRY principles.
Context aware patterns
Make sure to wrap any API calls, with module X to handle errors with Y error handling.
While working with the A make sure to do B and C.
Some pattern examples
A pattern in Trag defines a specific rule for code structure or behavior,
for example…
Create
Pattern
Ensure that complex forms using NgRx only dispatch actions to update the store when form values actually change.
import { Component } from '@angular/core';
import { Store } from '@ngrx/store';
import { FormGroup, FormControl } from '@angular/forms';
@Component({
selector: 'app-profile-form',
templateUrl: './profile-form.component.html',
})
export class ProfileFormComponent {
profileForm = new FormGroup({
firstName: new FormControl(''),
lastName: new FormControl(''),
});
constructor(private store: Store) {}
onSubmit() {
this.store.dispatch(updateProfile({ profile: this.profileForm.value }));
}
}
Trag comment
The dispatch is done every time, regardless of whether the form values have changed, maybe revisit this part and make sure this is intended.
How to set up Trag
Install GitHub application and that's pretty much it.
Step 1
Install GitHub app
Step 2
Write custom patterns
Step 3
Open a Pull Request
Pricing
Simple pricing, so you know what to expect.
Hobby
Free
Forever free for everyone getting
started with Trag.
Pull Request summaries
Unlimited repositories
Unlimited engineers
Team
Monthly
$300/repository
Best for teams starting to create processes around code reviews and standards.
14 day free trial
Max 15 engineers
Unlimited code reviews
Unlimited repositories
Unlimited custom rules
Enterprise
Custom pricing
Let's chat and discuss how Trag can be integrated into your existing infrastructure.
Everthing in Team
Unlimited engineers
Self hosting option
SSO login
Your LLM
Dedicated CSM
Open Source
Free forever
Trag is forever free with it's full functionality for open source projects, reach out to us to setup everything.
Code reviews
made easy peasy.
Let Trag enforce your coding standards while you
focus on writing better code.
No card required