@aimake/eslint-config
v2.0.2
Published
ESlint rules for AiMake with `[ 'ES5', 'ES.NEXT', 'React' ]` support.
Downloads
31
Readme
@aimake/eslint-config
ESlint rules for AiMake with [ 'ES5', 'ES.NEXT', 'React' ]
support.
Based on Airbnb JavaScript Style Guide
Install
npm i @aimake/eslint-config -D
Usage
ES5
{
"extends": "@aimake/eslint-config",
"env": {
"browser": true
}
}
ES.NEXT
{
"extends": "@aimake/eslint-config/es6",
"env": {
"browser": true
}
}
React
{
"extends": "@aimake/eslint-config/react",
"env": {
"browser": true
}
}
Tips
- If you use some experimental features with Babel, you may need babel-eslint
Development
Edit rules in rules
to override rules of Airbnb.
Test
npm test