Skip to content

Commit 29ca1b2

Browse files
committed
add more plugins enabled by babel-eslint 10
1 parent 350906a commit 29ca1b2

File tree

1 file changed

+8
-1
lines changed
  • packages/eslint-config-react-app

1 file changed

+8
-1
lines changed

packages/eslint-config-react-app/base.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@ module.exports = {
3232
requireConfigFile: false,
3333
babelOptions: {
3434
parserOpts: {
35-
plugins: ['jsx'],
35+
plugins: [
36+
['flow', { all: true, enums: true }],
37+
'jsx',
38+
// proposals shipped in major browsers
39+
'classProperties',
40+
'classPrivateProperties',
41+
'classPrivateMethods',
42+
],
3643
},
3744
},
3845
},

0 commit comments

Comments
 (0)