2.1.0 • Published 6 years ago
eslint-config-simon v2.1.0
This package contains several eslint-config files for my personal projects on github.
Installation
Install via npm:
npm install --save-dev eslint-config-simonInstall via yarn:
yarn add --dev eslint-config-simonAs of
2.xall ESLint rules are now implemented to simplify maintenance.
Available rules
| Name | Where to use | Extends | Source |
|---|---|---|---|
simon | Basic config, can be used in all JavaScript environments. | - | lib/base |
simon/lib/node | Rules for nodejs projects. | simon | lib/node |
simon/lib/react | Rules for react / preact projects. | simon | lib/react |
Example
Your .eslintrc file, you probably want to extend eslint:recommended too:
{
"extends": [
"eslint:recommended",
"simon"
]
}