From 71103b9d8eec1e339e41320d87bf71bc7e689269 Mon Sep 17 00:00:00 2001 From: Amirhossein Khalili Date: Fri, 24 Apr 2026 22:24:18 +0330 Subject: [PATCH] chore(frontend): relax lint and ts constraints --- eslint.config.js | 7 +++++++ tsconfig.app.json | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 5e6b472..cf13609 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -19,5 +19,12 @@ export default defineConfig([ ecmaVersion: 2020, globals: globals.browser, }, + rules: { + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-empty-object-type": "off", + "react-refresh/only-export-components": "off", + "react-hooks/set-state-in-effect": "off", + }, }, ]) diff --git a/tsconfig.app.json b/tsconfig.app.json index a9b5a59..ab4554d 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -18,8 +18,8 @@ /* Linting */ "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, + "noUnusedLocals": false, + "noUnusedParameters": false, "erasableSyntaxOnly": true, "noFallthroughCasesInSwitch": true, "noUncheckedSideEffectImports": true