Created
September 22, 2017 09:14
-
-
Save manelet/136e661fbdd73895c05365da15a4192c to your computer and use it in GitHub Desktop.
Aaprtum .eslintrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"env": { | |
"es6": true, | |
"node": true, | |
"mocha": true | |
}, | |
"parserOptions": { | |
"ecmaVersion": 2017, | |
"sourceType": "module" | |
}, | |
"extends": "eslint:recommended", | |
"rules": { | |
"global-require": [ | |
"error" | |
], | |
"no-useless-concat": [ | |
"error" | |
], | |
"prefer-template": [ | |
"error" | |
], | |
"no-template-curly-in-string": [ | |
"error" | |
], | |
"no-extra-parens": [ | |
"error" | |
], | |
"strict": [ | |
"error" | |
], | |
"no-iterator": [ | |
"error" | |
], | |
"no-with": [ | |
"error" | |
], | |
"no-trailing-spaces": [ | |
"error", | |
{ | |
"ignoreComments": true | |
} | |
], | |
"eqeqeq": [ | |
"error", | |
"always" | |
], | |
"indent": [ | |
"error", | |
4 | |
], | |
"linebreak-style": [ | |
"error", | |
"unix" | |
], | |
"quotes": [ | |
"error", | |
"double" | |
], | |
"semi": [ | |
"error", | |
"always" | |
], | |
"no-console": 0, | |
"no-var": [ | |
"error" | |
], | |
"prefer-const": [ | |
"error", | |
{ | |
"destructuring": "any", | |
"ignoreReadBeforeAssign": false | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment