2015-03-09 05:16:17 -05:00
|
|
|
{
|
2017-12-19 06:41:45 -06:00
|
|
|
"extends": "eslint:recommended",
|
2015-03-09 05:16:17 -05:00
|
|
|
"rules": {
|
|
|
|
"camelcase": 2,
|
|
|
|
"quotes": [2, "single"],
|
|
|
|
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
|
|
|
|
"space-in-parens": 2,
|
|
|
|
"space-before-blocks": 2,
|
2016-05-27 11:38:44 -05:00
|
|
|
"keyword-spacing": 2,
|
2015-03-09 05:16:17 -05:00
|
|
|
"no-lonely-if": 2,
|
|
|
|
"comma-style": 2,
|
2023-03-04 06:55:21 -06:00
|
|
|
"indent": "off",
|
2015-03-09 05:16:17 -05:00
|
|
|
"no-underscore-dangle": 0,
|
|
|
|
"no-constant-condition": 0,
|
|
|
|
"no-multi-spaces": 0,
|
|
|
|
"strict": 0,
|
|
|
|
"key-spacing": 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,
|
2020-11-10 02:03:53 -06:00
|
|
|
"semi": 2,
|
|
|
|
"no-redeclare": 0
|
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
|
|
|
},
|
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
|
|
|
}
|