File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1+ import github from 'eslint-plugin-github'
2+
3+ export default [
4+ // Don't use spread operator - these aren't arrays
5+ github . getFlatConfigs ( ) . react ,
6+ {
7+ // This lets your .eslintrc.js handle most configuration
8+ ignores : [ '.cache/**' , 'public/**' ]
9+ }
10+ ]
Original file line number Diff line number Diff line change @@ -3,14 +3,13 @@ const {getGlobals} = require('eslint-plugin-mdx')
33module . exports = {
44 root : true ,
55 ignorePatterns : [ '.cache/' , 'public/' ] ,
6- plugins : [ 'primer-react' , ' github' ] ,
6+ plugins : [ 'primer-react' ] , // github plugin now comes from flat config
77 extends : [
88 '@npmcli' ,
99 'react-app' ,
10- // 'react-app/jest',
1110 'eslint:recommended' ,
1211 'plugin:react/recommended' ,
13- 'plugin:github/react' ,
12+ // 'plugin:github/react', // REMOVED: now handled by flat config
1413 'plugin:react-hooks/recommended' ,
1514 'prettier' ,
1615 ] ,
You can’t perform that action at this time.
0 commit comments