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": {
|
2022-01-08 13:47:52 -07:00
|
|
|
// 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 }],
|
2022-01-08 13:55:41 -07:00
|
|
|
"no-var": "off",
|
|
|
|
"one-var": "off",
|
|
|
|
"no-await-in-loop": "off"
|
2022-01-08 13:15:02 -07:00
|
|
|
}
|
|
|
|
}
|