39 lines
887 B
JSON
39 lines
887 B
JSON
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020,
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"plugins": ["@typescript-eslint", "prettier"],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"env": {
|
|
"browser": true,
|
|
"es2020": true,
|
|
"node": true,
|
|
"jest": true
|
|
},
|
|
"rules": {
|
|
"prettier/prettier": "warn",
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"no-console": "off"
|
|
},
|
|
"ignorePatterns": [
|
|
"node_modules",
|
|
"library",
|
|
"temp",
|
|
"build",
|
|
"settings",
|
|
"local",
|
|
"*.js"
|
|
]
|
|
}
|