retropilot-server/.eslintrc.json

24 lines
572 B
JSON

{
"extends": [
"airbnb-base"
],
"env": {
"es6": true,
"node": true,
"browser": false // do we need this?
},
"rules": {
// disallow use of unary operators, ++ and --
// http://eslint.org/docs/rules/no-plusplus
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-continue": "off",
// TODO: fix and remove
"no-unused-vars": ["warn", { "vars": "all", "args": "after-used", "ignoreRestSiblings": true }],
"no-var": "off",
"one-var": "off",
"no-await-in-loop": "off",
"no-console": "off"
}
}