File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
packages/eslint-config-react-app Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,21 @@ module.exports = {
35
35
plugins : [
36
36
[ 'flow' , { all : true , enums : true } ] ,
37
37
'jsx' ,
38
- // proposals shipped in major browsers
38
+ // ES2022, remove these three when upgrading to Babel 7.14
39
39
'classProperties' ,
40
40
'classPrivateProperties' ,
41
41
'classPrivateMethods' ,
42
+ // proposals shipped in major browsers
43
+ 'classStaticBlock' ,
44
+ 'privateIn' ,
45
+ // these ES proposals are provided for backward compatibility
46
+ // they are enabled by default by babel-eslint@10, consider remove them in futural versions:
47
+ 'decorators-legacy' ,
48
+ 'doExpressions' ,
49
+ 'exportDefaultFrom' ,
50
+ 'functionBind' ,
51
+ 'throwExpressions' ,
52
+ [ 'pipelineOperator' , { proposal : 'minimal' } ] ,
42
53
] ,
43
54
} ,
44
55
} ,
You can’t perform that action at this time.
0 commit comments