eslint-config-yellow
v1.0.2
Published
An Opinionated ESLint Configuration prioritizing Readability, Brevity, and Clarity
Downloads
4
Maintainers
Readme
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-yellow
Setup:
In your .eslintrc
, include
{
"extends": "eslint-config-yellow"
}
To access the additional TypeScript rules, use
{
"extends": "eslint-config-yellow/ts"
}