2018-01-07 09:24:32 +01:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"es6": true,
|
|
|
|
"node": true
|
|
|
|
},
|
2018-01-07 09:41:17 +01:00
|
|
|
"plugins": [
|
|
|
|
"security"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:security/recommended"
|
|
|
|
],
|
2018-01-07 09:24:32 +01:00
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
"tab"
|
|
|
|
],
|
|
|
|
"linebreak-style": [
|
|
|
|
"error",
|
|
|
|
"unix"
|
|
|
|
],
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"no-case-declarations": "off",
|
2018-01-07 09:41:17 +01:00
|
|
|
"no-console": "off",
|
|
|
|
"security/detect-new-buffer": "off",
|
|
|
|
"security/detect-object-injection": "off"
|
2018-01-07 09:24:32 +01:00
|
|
|
}
|
|
|
|
}
|