From 296a45df0048fb150c3f5f1e388b15aceb7c7674 Mon Sep 17 00:00:00 2001 From: FatttSnake Date: Fri, 26 Apr 2024 09:56:36 +0800 Subject: [PATCH] Chore(Eslint): Dismiss exhaustive deps warning Add config to dismiss exhaustive deps warning --- .eslintrc.cjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 522cb9d..ad8474d 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -34,6 +34,7 @@ module.exports = { 'warn', { allowConstantExport: true } ], - '@typescript-eslint/no-non-null-assertion': 'off' + '@typescript-eslint/no-non-null-assertion': 'off', + 'react-hooks/exhaustive-deps': 'off', } }