1.0.2 • Published 6 years ago
eslint-config-yellow v1.0.2
Yellow is an opinionated ESLint Configuration prioritizing readability, brevity, and clarity. It supports both JavaScript and Typescript.
Some Rules
| Topic | Rule |
|---|---|
| Semicolons? | Yes |
| Indentation? | 2 Spaces |
| Quotes? | Single |
| Line length? | 79 |
Usage
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"
}