File tree Expand file tree Collapse file tree 2 files changed +21
-4
lines changed
Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,24 @@ const enableAllRules = Object.fromEntries(
99
1010module . exports = {
1111 root : true ,
12- parser : 'babel- eslint' ,
12+ parser : '@ babel/ eslint-parser ' ,
1313 parserOptions : {
1414 ecmaVersion : 2021 ,
1515 ecmaFeatures : {
1616 jsx : true
17+ } ,
18+ requireConfigFile : false ,
19+ babelOptions : {
20+ babelrc : false ,
21+ configFile : false ,
22+ parserOpts : {
23+ plugins : [
24+ 'jsx' ,
25+ 'classProperties' ,
26+ 'doExpressions' ,
27+ 'exportDefaultFrom'
28+ ]
29+ }
1730 }
1831 } ,
1932 plugins : [
Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ module.exports = [
5959 'tests/**'
6060 ]
6161 } ,
62- 'https://github.com/facebook/react' ,
6362 {
6463 repository : 'https://github.com/angular/angular' ,
6564 ignore : [
@@ -94,7 +93,13 @@ module.exports = [
9493 'https://github.com/sindresorhus/capture-website' ,
9594 'https://github.com/sindresorhus/file-type' ,
9695 'https://github.com/sindresorhus/slugify' ,
97- 'https://github.com/gatsbyjs/gatsby' ,
96+ {
97+ repository : 'https://github.com/gatsbyjs/gatsby' ,
98+ ignore : [
99+ // These files use `flow`
100+ '**/*.js'
101+ ]
102+ } ,
98103 {
99104 repository : 'https://github.com/puppeteer/puppeteer' ,
100105 ignore : [
@@ -123,7 +128,6 @@ module.exports = [
123128 ]
124129 } ,
125130 'https://github.com/ReactTraining/react-router' ,
126- 'https://github.com/facebook/relay' ,
127131 'https://github.com/mozilla/pdf.js' ,
128132 // #912
129133 {
You can’t perform that action at this time.
0 commit comments