From 9ae57451a42528f186a91a93b4c66d2f76cc1680 Mon Sep 17 00:00:00 2001 From: Vixalie Date: Thu, 6 Mar 2025 21:54:50 +0800 Subject: [PATCH] ignore some unnessary rules. --- eslint.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eslint.config.js b/eslint.config.js index 67b0f50..4bfc2eb 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -20,6 +20,8 @@ export default tseslint.config( rules: { ...reactHooks.configs.recommended.rules, 'react-refresh/only-export-components': 'off', + 'react-hooks/exhaustive-deps': 'off', + 'typescript-eslint/no-unused-vars': 'warn', }, }, );