1.1.1 • Published 8 years ago
eslint-config-anb v1.1.1
eslint-config-anb
===================
Installation
Install ESLint either locally or globally.
$ npm install eslint --save-devIf you installed ESLint, Otherwise, install it locally.
$ npm install eslint-config-anb --save-devWhy Use babel-eslint
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": {
}
}