2021-05-07 23:08:02 +01:00
|
|
|
{
|
2021-05-12 16:01:04 +01:00
|
|
|
"plugins": ["sort-imports-es6-autofix", "@typescript-eslint", "prettier"],
|
2021-05-07 23:08:02 +01:00
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:import/errors",
|
|
|
|
"plugin:import/warnings",
|
2021-05-10 11:35:14 +01:00
|
|
|
"plugin:@typescript-eslint/recommended",
|
2021-05-12 16:01:04 +01:00
|
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
|
|
"prettier"
|
2021-05-07 23:08:02 +01:00
|
|
|
],
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 12,
|
|
|
|
"sourceType": "module",
|
2021-05-10 11:35:14 +01:00
|
|
|
"experimentalObjectRestSpread": true,
|
|
|
|
"project": "./tsconfig.json"
|
2021-05-07 23:08:02 +01:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"pageContent": "writable",
|
|
|
|
"module": "writable",
|
2021-05-09 16:15:51 +01:00
|
|
|
"process": "writable",
|
2021-05-09 16:31:01 +01:00
|
|
|
"BUILD_STRING": "writable"
|
2021-05-07 23:08:02 +01:00
|
|
|
},
|
|
|
|
"rules": {
|
2021-05-12 16:01:04 +01:00
|
|
|
"no-unused-vars": ["off"],
|
2021-05-07 23:08:02 +01:00
|
|
|
"@typescript-eslint/no-unused-vars": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"argsIgnorePattern": "^_"
|
|
|
|
}
|
|
|
|
],
|
2021-05-12 17:37:09 +01:00
|
|
|
"@typescript-eslint/require-await": ["off"],
|
|
|
|
"@typescript-eslint/no-empty-function": ["off"],
|
2021-05-12 16:01:04 +01:00
|
|
|
"@typescript-eslint/ban-ts-comment": ["off"],
|
|
|
|
"sort-imports-es6-autofix/sort-imports-es6": [2],
|
|
|
|
"@typescript-eslint/no-explicit-any": [2],
|
|
|
|
"prettier/prettier": 2
|
2021-05-07 23:08:02 +01:00
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
"root": true,
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"settings": {
|
|
|
|
"import/resolver": {
|
|
|
|
"node": {
|
2021-05-12 16:01:04 +01:00
|
|
|
"extensions": [".js", ".ts"]
|
2021-05-07 23:08:02 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-05-12 16:01:04 +01:00
|
|
|
}
|