Skip to content

Commit

Permalink
add more plugins enabled by babel-eslint 10
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Mar 29, 2021
1 parent 350906a commit 29ca1b2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/eslint-config-react-app/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,14 @@ module.exports = {
requireConfigFile: false,
babelOptions: {
parserOpts: {
plugins: ['jsx'],
plugins: [
['flow', { all: true, enums: true }],
'jsx',
// proposals shipped in major browsers
'classProperties',
'classPrivateProperties',
'classPrivateMethods',
],
},
},
},
Expand Down

0 comments on commit 29ca1b2

Please sign in to comment.