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