retropilot-server/.eslintrc.json

21 lines
494 B
JSON
Raw Normal View History

2022-01-08 13:15:02 -07:00
{
"extends": [
"airbnb-base"
],
"env": {
"es6": true,
2022-01-08 13:41:18 -07:00
"node": true,
"browser": false // do we need this?
2022-01-08 13:15:02 -07:00
},
"rules": {
// disallow use of unary operators, ++ and --
// http://eslint.org/docs/rules/no-plusplus
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
2022-01-08 13:41:18 -07:00
// TODO: fix and remove
"no-unused-vars": ["warn", { "vars": "all", "args": "after-used", "ignoreRestSiblings": true }],
"no-var": ["off"],
"one-var": ["off"]
2022-01-08 13:15:02 -07:00
}
}