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 = {
3535 plugins : [
3636 [ 'flow' , { all : true , enums : true } ] ,
3737 'jsx' ,
38- // proposals shipped in major browsers
38+ // ES2022, remove these three when upgrading to Babel 7.14
3939 'classProperties' ,
4040 'classPrivateProperties' ,
4141 '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' } ] ,
4253 ] ,
4354 } ,
4455 } ,
You can’t perform that action at this time.
0 commit comments