Skip to content

Instantly share code, notes, and snippets.

@manelet
Created September 22, 2017 09:14
Show Gist options
  • Save manelet/136e661fbdd73895c05365da15a4192c to your computer and use it in GitHub Desktop.
Save manelet/136e661fbdd73895c05365da15a4192c to your computer and use it in GitHub Desktop.
Aaprtum .eslintrc
{
"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