2015-03-09 05:16:17 -05:00
|
|
|
{
|
2023-12-18 12:27:02 -06:00
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"prettier"
|
|
|
|
],
|
2015-03-09 05:16:17 -05:00
|
|
|
"rules": {
|
|
|
|
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
|
|
|
|
"no-lonely-if": 2,
|
|
|
|
"no-underscore-dangle": 0,
|
|
|
|
"no-constant-condition": 0,
|
|
|
|
"strict": 0,
|
2017-12-19 06:41:45 -06:00
|
|
|
"no-shadow": 0,
|
2020-01-16 08:44:23 -06:00
|
|
|
"no-console": 0,
|
2020-10-19 09:11:15 -05:00
|
|
|
"no-control-regex": 0,
|
2020-10-20 14:05:29 -05:00
|
|
|
"no-useless-escape": 0,
|
2023-12-18 10:25:40 -06:00
|
|
|
"no-redeclare": 0,
|
|
|
|
/// Rules that are set to warn will fail in CI but not when building for development:
|
|
|
|
"no-debugger": 1,
|
|
|
|
"no-unreachable": 1,
|
|
|
|
"no-unused-vars": 1,
|
2015-03-09 05:16:17 -05:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"L": true,
|
|
|
|
"module": false,
|
|
|
|
"define": false
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true
|
2020-03-01 09:48:10 -06:00
|
|
|
},
|
2024-02-08 13:43:06 -06:00
|
|
|
"parserOptions": {
|
2024-02-20 01:14:53 -06:00
|
|
|
"ecmaVersion": 2017
|
2024-02-08 13:43:06 -06:00
|
|
|
},
|
2021-04-07 00:57:21 -05:00
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": ["**/*.ts"],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
|
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
|
|
"no-var": "off",
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"@typescript-eslint/no-namespace": "off",
|
|
|
|
"no-inner-declarations": "off",
|
|
|
|
"no-constant-condition": "off",
|
|
|
|
"@typescript-eslint/triple-slash-reference": "off"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2015-03-09 05:16:17 -05:00
|
|
|
}
|