File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-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+ // React config from github plugin
5+ github . getFlatConfigs ( ) . react ,
6+
7+ // Core configuration
8+ {
9+ ignores : [ '.cache/**' , 'public/**' ] ,
10+ linterOptions : {
11+ reportUnusedDisableDirectives : true
12+ }
13+ }
14+ ]
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 ] ,
Original file line number Diff line number Diff line change 66! ** /.gitignore
77! /.commitlintrc.js
88! /.eslintrc.js
9+ ! /.eslint.config.js
910! /.eslintrc.local. *
1011! /.git-blame-ignore-revs
1112! /.github /
You can’t perform that action at this time.
0 commit comments