29 lines
834 B
JSON
29 lines
834 B
JSON
{
|
|
"root": true,
|
|
"env": {
|
|
"browser": true,
|
|
"es2020": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier",
|
|
"prettier/@typescript-eslint"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 11,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["unused-imports", "@typescript-eslint", "prettier"],
|
|
"rules": {
|
|
"prettier/prettier": "error",
|
|
"no-unused-vars": "off",
|
|
"unused-imports/no-unused-imports-ts": "error",
|
|
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off"
|
|
}
|
|
}
|