chore(eslint): enable typescript-eslint for ts/tsx

This commit is contained in:
2026-03-11 13:49:45 +03:00
parent e4e6bc5af4
commit 6c73b0fa61
3 changed files with 183 additions and 5 deletions

View File

@@ -1,7 +1,9 @@
import js from "@eslint/js";
import tseslint from "typescript-eslint";
export default [
js.configs.recommended,
...tseslint.configs.recommended,
{
files: ["**/*.ts", "**/*.tsx"],
languageOptions: {
@@ -9,7 +11,8 @@ export default [
sourceType: "module",
},
rules: {
"no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
},
},
{