https://github.com/trilogy-group/eslint-config
Repository to centralize and standardize linting rules
https://github.com/trilogy-group/eslint-config
Last synced: 2 months ago
JSON representation
Repository to centralize and standardize linting rules
- Host: GitHub
- URL: https://github.com/trilogy-group/eslint-config
- Owner: trilogy-group
- Created: 2021-02-19T19:44:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-05T04:11:17.000Z (over 2 years ago)
- Last Synced: 2025-01-29T12:18:00.209Z (4 months ago)
- Language: JavaScript
- Size: 134 KB
- Stars: 0
- Watchers: 17
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Trilogy ESLint rules to be used across all new TypeScript products.
We base our rules on the [StandardJS ruleset for TypeScript](https://standardjs.com/#typescript), as per [this ITD](https://docs.google.com/document/d/1FQK4bWzh0YqBsCG52k1AXs-ra0wjyLBl1MGwQd7byaA/edit#heading=h.rkyqn2fv7ea1).
## 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:
```json
{
"extends": "@trilogy-group/eslint-config"
}
```