Skip to content

Repository to centralize and standardize linting rules

Notifications You must be signed in to change notification settings

trilogy-group/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trilogy ESLint rules to be used across all new TypeScript products.

We base our rules on the StandardJS ruleset for TypeScript, as per this ITD.

Submitting rule changes

If a rule needs changing, please submit a pull request.

Your request must be supported by evidence. The most compelling example is a deep dive analysing a customer defect or production failure.

We don't design for exceptions, so a quality issue should have been observed three times before a rule is changed.

Usage

npm install -D @trilogy-group/eslint-config

Then, extend the rules in your .eslintrc:

{
  "extends": "@trilogy-group/eslint-config"
}