File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import next from '@next/eslint-plugin-next' ;
22import * as mdx from 'eslint-plugin-mdx' ;
33import react from 'eslint-plugin-react' ;
4- import * as hooks from 'eslint-plugin-react-hooks' ;
4+ import reactHooks from 'eslint-plugin-react-hooks' ;
55
66import baseConfig from '../../eslint.config.js' ;
77
@@ -11,7 +11,7 @@ export default baseConfig.concat([
1111 } ,
1212
1313 react . configs . flat [ 'jsx-runtime' ] ,
14- hooks . configs [ 'recommended-latest' ] ,
14+ reactHooks . configs . flat [ 'recommended-latest' ] ,
1515 next . configs [ 'core-web-vitals' ] ,
1616 mdx . flatCodeBlocks ,
1717
Original file line number Diff line number Diff line change 11import react from 'eslint-plugin-react' ;
2- import * as hooks from 'eslint-plugin-react-hooks' ;
2+ import reactHooks from 'eslint-plugin-react-hooks' ;
33import storybook from 'eslint-plugin-storybook' ;
44
55import baseConfig from '../../eslint.config.js' ;
66
77export default baseConfig . concat ( [
88 react . configs . flat [ 'jsx-runtime' ] ,
9- hooks . configs [ 'recommended-latest' ] ,
9+ reactHooks . configs . flat [ 'recommended-latest' ] ,
1010 ...storybook . configs [ 'flat/recommended' ] ,
1111
1212 // Type-checking
You can’t perform that action at this time.
0 commit comments