@aimake/eslint
v0.7.26
Published
AiMake eslint config rule.
Downloads
12
Readme
@aimake/eslint
ESlint rules for AiMake with [ 'ES5', 'ES.NEXT', 'React' ]
support.
Based on Airbnb JavaScript Style Guide
Install
npm i @aimake/eslint -D
Usage
ES5
{
"extends": "@aimake/eslint",
"env": {
"browser": true
}
}
ES.NEXT
{
"extends": "@aimake/eslint/es6",
"env": {
"browser": true
}
}
React
{
"extends": "@aimake/eslint/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.