2018-01-20 02:57:26 +01:00
|
|
|
{
|
2023-07-29 08:31:34 +02:00
|
|
|
"extends": ["standard", "plugin:@typescript-eslint/recommended"],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"plugins": ["@typescript-eslint"],
|
|
|
|
"root": true,
|
2018-01-20 02:57:26 +01:00
|
|
|
"rules": {
|
2018-09-23 20:27:39 -04:00
|
|
|
"semi": ["error", "always"],
|
2019-04-25 13:40:32 -05:00
|
|
|
"indent": ["error", 2, {
|
2018-01-20 03:10:46 +01:00
|
|
|
"SwitchCase": 1,
|
2019-04-25 13:40:32 -05:00
|
|
|
"VariableDeclarator": { "var": 2 },
|
2019-04-27 00:29:08 -05:00
|
|
|
"outerIIFEBody": 0
|
2018-01-20 03:10:46 +01:00
|
|
|
}],
|
2018-01-20 03:01:30 +01:00
|
|
|
"operator-linebreak": ["error", "before", { "overrides": { "=": "after" } }],
|
2019-04-26 20:58:04 -05:00
|
|
|
"space-before-function-paren": ["error", "never"],
|
2018-01-20 03:01:30 +01:00
|
|
|
"no-cond-assign": "off",
|
|
|
|
"no-useless-escape": "off",
|
2018-01-26 04:57:18 +01:00
|
|
|
"one-var": "off",
|
2019-08-27 13:22:54 -05:00
|
|
|
"no-control-regex": "off",
|
2019-11-05 15:31:11 -06:00
|
|
|
"no-prototype-builtins": "off",
|
2020-04-02 00:23:29 -05:00
|
|
|
"no-extra-semi": "error",
|
2019-11-05 15:31:11 -06:00
|
|
|
"prefer-const": "error",
|
2023-07-29 08:31:34 +02:00
|
|
|
"no-var": "error",
|
|
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
|
|
"@typescript-eslint/no-namespace": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }]
|
2018-01-20 03:22:23 +01:00
|
|
|
},
|
|
|
|
"env": {
|
2019-11-05 15:31:11 -06:00
|
|
|
"node": true
|
2018-01-20 02:57:26 +01:00
|
|
|
}
|
|
|
|
}
|