Package Exports
- eslint-config-yellow
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-yellow) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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-yellowSetup:
In your .eslintrc, include
{
"extends": "eslint-config-yellow"
}To access the additional TypeScript rules, use
{
"extends": "eslint-config-yellow/ts"
}