File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,25 @@ module.exports = {
16
16
} ,
17
17
plugins : [ 'es-x' ] ,
18
18
rules : {
19
+ // Babel transpiles ES2020 class fields
20
+ 'es-x/no-class-fields' : 'off' ,
21
+
22
+ // Babel transpiles ES2022 class static fields
23
+ 'es-x/no-class-static-fields' : 'off' ,
24
+
19
25
// ES modules include ES2016 '[].includes()' coverage
20
26
// https://browsersl.ist/#q=supports+es6-module+and+not+supports+array-includes
21
- 'es-x/no-array-prototype-includes' : 'off'
27
+ 'es-x/no-array-prototype-includes' : 'off' ,
28
+
29
+ // Babel transpiles ES2020 `??` nullish coalescing
30
+ 'es-x/no-nullish-coalescing-operators' : 'off' ,
31
+
32
+ // ES modules include ES2017 'Object.entries()' coverage
33
+ // https://browsersl.ist/#q=supports+es6-module+and+not+supports+object-entries
34
+ 'es-x/no-object-entries' : 'off' ,
35
+
36
+ // Babel transpiles ES2020 optional chaining
37
+ 'es-x/no-optional-chaining' : 'off'
22
38
}
23
39
}
24
40
]
You can’t perform that action at this time.
0 commit comments