Skip to content

Commit 28796e4

Browse files
authored
chore: fix eslint warning for react 19 (ant-design#52133)
1 parent ad07285 commit 28796e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eslint.config.mjs

+3
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ export default antfu(
6262
'perfectionist/sort-named-imports': 'off',
6363
'perfectionist/sort-named-exports': 'off',
6464
'regexp/strict': 'off',
65+
/* turn off React 19 only rules */
66+
'react/no-forward-ref': 'off',
67+
'react/no-context-provider': 'off',
6568
},
6669
},
6770
compat.configs['flat/recommended'],

0 commit comments

Comments
 (0)