42 lines
853 B
JSON
42 lines
853 B
JSON
{
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"@typescript-eslint/recommended",
|
|
"prettier"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": ["@typescript-eslint", "svelte3"],
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020,
|
|
"sourceType": "module"
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"es2017": true,
|
|
"node": true
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["*.svelte"],
|
|
"processor": "svelte3/svelte3"
|
|
}
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{ "argsIgnorePattern": "^_" }
|
|
],
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
"no-console": ["warn", { "allow": ["warn", "error"] }],
|
|
"prefer-const": "error"
|
|
},
|
|
"settings": {
|
|
"svelte3/typescript": true
|
|
},
|
|
"ignorePatterns": [
|
|
".svelte-kit/**",
|
|
"build/**",
|
|
"dist/**",
|
|
"node_modules/**"
|
|
]
|
|
} |