Commit 6d5cad73 authored by timel's avatar timel

feat: update lint config

parent 881cb912
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
"simple-import-sort" "simple-import-sort"
], ],
"rules": { "rules": {
"eqeqeq": 0, "eqeqeq": "warn",
"no-var": "error",
"@typescript-eslint/consistent-type-definitions": [ "@typescript-eslint/consistent-type-definitions": [
"error", "error",
"interface" "interface"
...@@ -21,7 +20,11 @@ ...@@ -21,7 +20,11 @@
"simple-import-sort/exports": "warn", "simple-import-sort/exports": "warn",
"no-unused-vars": "off", "no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [ "@typescript-eslint/no-unused-vars": [
"error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" } "error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
] ]
}, },
"settings": { "settings": {
...@@ -30,5 +33,7 @@ ...@@ -30,5 +33,7 @@
"typescript": true "typescript": true
} }
}, },
"ignorePatterns": ["src/api/ocgcore/idl/ocgcore.ts"] "ignorePatterns": [
"src/api/ocgcore/idl/ocgcore.ts"
]
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment