From 926686c5787c10288076c7c8937e5eb0500872db Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Wed, 15 Oct 2025 16:16:48 +0800 Subject: [PATCH] fix: eslint format --- eslint.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eslint.config.js b/eslint.config.js index cd6e8fd..460c5c1 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -9,7 +9,12 @@ import tseslint from 'typescript-eslint' export default defineConfig([ globalIgnores(['dist', 'test-pages']), - reactHooks.configs.flat.recommended, + { + plugins: { + 'react-hooks': reactHooks, + }, + rules: reactHooks.configs.recommended.rules, + }, { files: ['**/*.{ts,tsx}'], extends: [