chore: lint config update (#53724)

This commit is contained in:
lijianan 2025-05-06 10:22:44 +08:00 committed by GitHub
parent 4e350a90f7
commit fe5bc6cec7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,6 +66,7 @@ export default antfu(
'react/no-context-provider': 'off', 'react/no-context-provider': 'off',
'react/no-use-context': 'off', 'react/no-use-context': 'off',
'react-hooks-extra/no-unnecessary-use-prefix': 'off', 'react-hooks-extra/no-unnecessary-use-prefix': 'off',
'react-hooks-extra/no-direct-set-state-in-use-effect': 'off',
}, },
}, },
compat.configs['flat/recommended'], compat.configs['flat/recommended'],