2018-09-15 20:51:23 +03:00
|
|
|
{
|
2022-03-25 04:39:03 +03:00
|
|
|
"root": true,
|
2018-09-15 20:51:23 +03:00
|
|
|
"extends": "standard",
|
2019-03-07 23:56:02 +03:00
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"plugins": ["@typescript-eslint"],
|
2018-09-15 20:51:23 +03:00
|
|
|
"env": {
|
|
|
|
"browser": true
|
2018-09-29 02:17:00 +03:00
|
|
|
},
|
|
|
|
"rules": {
|
2019-03-07 23:56:02 +03:00
|
|
|
"semi": ["error", "always"],
|
2018-10-02 04:56:31 +03:00
|
|
|
"no-var": "error",
|
2020-10-30 00:23:22 +03:00
|
|
|
"no-unused-vars": "off",
|
|
|
|
"guard-for-in": "error",
|
2019-03-07 23:56:02 +03:00
|
|
|
"@typescript-eslint/no-unused-vars": ["error", {
|
|
|
|
"vars": "all",
|
|
|
|
"args": "after-used",
|
2020-11-10 20:06:03 +03:00
|
|
|
"ignoreRestSiblings": true
|
2019-03-07 23:56:02 +03:00
|
|
|
}],
|
2018-10-02 04:56:31 +03:00
|
|
|
"prefer-const": ["error", {
|
|
|
|
"destructuring": "all"
|
2019-04-30 23:59:47 +03:00
|
|
|
}],
|
2023-06-26 20:51:59 +03:00
|
|
|
"standard/no-callback-literal": "off"
|
2019-02-06 21:27:20 +03:00
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 6,
|
|
|
|
"sourceType": "module"
|
2019-03-07 23:56:02 +03:00
|
|
|
},
|
|
|
|
"overrides": [
|
2020-10-26 05:59:35 +03:00
|
|
|
{
|
|
|
|
"files": "*.ts",
|
|
|
|
"rules": {
|
|
|
|
"no-undef": "off",
|
|
|
|
"no-redeclare": "off",
|
|
|
|
"@typescript-eslint/no-redeclare": ["error"],
|
|
|
|
"no-use-before-define": "off"
|
|
|
|
}
|
|
|
|
},
|
2019-11-01 23:37:02 +03:00
|
|
|
{
|
|
|
|
"files": "*.d.ts",
|
|
|
|
"rules": {
|
2020-10-30 00:23:22 +03:00
|
|
|
"no-useless-constructor": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": "off"
|
2019-11-01 23:37:02 +03:00
|
|
|
}
|
2019-03-07 23:56:02 +03:00
|
|
|
}
|
|
|
|
]
|
2018-09-15 20:51:23 +03:00
|
|
|
}
|