This package contains several eslint-config files for my personal projects on github.
Install via npm:
npm install --save-dev eslint-config-simon
Install via yarn:
yarn add --dev eslint-config-simon
As of
2.x
all ESLint rules are now implemented to simplify maintenance.
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 |
Your .eslintrc file, you probably want to extend eslint:recommended too:
{
"extends": [
"eslint:recommended",
"simon"
]
}