eslint-config-mooveit-standard
v1.0.2
Published
eslint configuration based on standard
Downloads
4
Readme
Eslint Config Moove-it Standard
An Eslint shareable config for the style we use for some projects.
Install
npm install --save-dev eslint-config-mooveit-standard
Usage
Shareable configs are designed to work using the extends
feature of eslintrc.json
files.
Add this to the eslintrc.json
or .eslintrc
file:
{
"extends": "mooveit-standard"
}
Packages
Custom Rules
- Prevent usage of setState in componentDidUpdate
- Prevent usage of unknown DOM property
- Prevent missing React when using JSX
- No comma dangle
- Single quotes
- Optional prop types
- No semi colons
- Prefer let