Yellow is an opinionated ESLint Configuration prioritizing readability, brevity, and clarity. It supports both JavaScript and Typescript.
| Topic | Rule |
|---|---|
| Semicolons? | Yes |
| Indentation? | 2 Spaces |
| Quotes? | Single |
| Line length? | 79 |
Installation:
npm i -D eslint-config-yellowSetup:
In your .eslintrc, include
{
"extends": "eslint-config-yellow"
}To access the additional TypeScript rules, use
{
"extends": "eslint-config-yellow/ts"
}