eslint-config-simon
v2.1.0
Published
ESlint config files for my personal projects on github@simonwep.
Downloads
114
Maintainers
Readme
This package contains several eslint-config files for my personal projects on github.
Installation
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.
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"
]
}