eslint-config-blacksun1
v2.2.0
Published
blacksun1 shareable eslint configuration
Downloads
3
Readme
eslint-config-blacksun1
blacksun1 shareable eslint configuration
How to use
First add the module to your package.json and install it.
npm install eslint-config-blacksun1 --save-dev
then setup your .eslintrc
file so that eslint knows to use them. Here is an example script.
{
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"sourceType": "module"
},
"extends": "blacksun1"
}
You can always override rules by adding a rule override such as the following:
{
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": [
"error",
4
]
},
"extends": "blacksun1"
}
which overrides the 2 character spacing with 4 character spacing.