{ "root": true, "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 2022, "sourceType": "module", "project": "./tsconfig.json" }, "plugins": ["@typescript-eslint"], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier" ], "env": { "browser": true, "es2022": true, "node": true }, "ignorePatterns": [ "node_modules/", "main.js", "*.config.mjs", "*.config.js", "*.config.cjs" ], "rules": { "no-unused-vars": "off", "@typescript-eslint/no-unused-vars": [ "warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_", "caughtErrorsIgnorePattern": "^_" } ], "@typescript-eslint/no-explicit-any": "warn", "@typescript-eslint/no-non-null-assertion": "warn", "@typescript-eslint/ban-ts-comment": "warn", "@typescript-eslint/ban-types": "warn", "@typescript-eslint/no-empty-function": "warn", "no-empty": ["warn", { "allowEmptyCatch": true }], "no-console": "off", "prefer-const": "warn", "eqeqeq": ["warn", "smart"], "no-var": "warn", "no-debugger": "warn" } }