diff --git a/eslint.config.mjs b/eslint.config.mjs index a01ed53012..60475aa728 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -62,6 +62,9 @@ export default antfu( 'perfectionist/sort-named-imports': 'off', 'perfectionist/sort-named-exports': 'off', 'regexp/strict': 'off', + /* turn off React 19 only rules */ + 'react/no-forward-ref': 'off', + 'react/no-context-provider': 'off', }, }, compat.configs['flat/recommended'],