eslint-config-anb
===================
Installation
Install ESLint either locally or globally.
$ npm install eslint --save-dev
If you installed ESLint
, Otherwise, install it locally.
$ npm install eslint-config-anb --save-dev
You only need to use babel-eslint if you are using types (Flow) or experimental features not supported in ESLint itself yet. Otherwise try the default parser (you don't have to use it just because you are using Babel).
Configuration
Use to get reasonable defaults:
module.exports = {
"extends": "anb",
"rules": {
},
"env": {
}
}
react
module.exports = {
"extends": "anb/react",
"rules": {
},
"env": {
}
}
vue
module.exports = {
"extends": "anb/vue",
"rules": {
},
"env": {
}
}