67 lines
1.3 KiB
JSON
67 lines
1.3 KiB
JSON
{
|
|
"plugins": [
|
|
"sort-imports-es6-autofix",
|
|
"@typescript-eslint"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:import/errors",
|
|
"plugin:import/warnings",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module",
|
|
"experimentalObjectRestSpread": true,
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"globals": {
|
|
"pageContent": "writable",
|
|
"module": "writable",
|
|
"process": "writable",
|
|
"BUILD_STRING": "writable"
|
|
},
|
|
"rules": {
|
|
"no-unused-vars": [
|
|
"off"
|
|
],
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{
|
|
"argsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"@typescript-eslint/no-empty-function": [
|
|
"error",
|
|
{
|
|
"allow": ["arrowFunctions"]
|
|
}
|
|
],
|
|
"@typescript-eslint/ban-ts-comment": [
|
|
"off"
|
|
],
|
|
"sort-imports-es6-autofix/sort-imports-es6": [
|
|
2
|
|
],
|
|
"@typescript-eslint/no-explicit-any": [
|
|
2
|
|
]
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true
|
|
},
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"settings": {
|
|
"import/resolver": {
|
|
"node": {
|
|
"extensions": [
|
|
".js",
|
|
".ts"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
} |