File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
packages/eslint-config-airbnb-base/rules Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,11 @@ module.exports = {
104
104
// https://eslint.org/docs/rules/no-empty-pattern
105
105
'no-empty-pattern' : 'error' ,
106
106
107
+ // Disallow empty static blocks
108
+ // https://eslint.org/docs/latest/rules/no-empty-static-block
109
+ // TODO: semver-major, enable
110
+ 'no-empty-static-block' : 'off' ,
111
+
107
112
// disallow comparisons to null without a type-checking operator
108
113
// https://eslint.org/docs/rules/no-eq-null
109
114
'no-eq-null' : 'off' ,
Original file line number Diff line number Diff line change @@ -105,6 +105,11 @@ module.exports = {
105
105
// disallow the use of object properties of the global object (Math and JSON) as functions
106
106
'no-obj-calls' : 'error' ,
107
107
108
+ // Disallow new operators with global non-constructor functions
109
+ // https://eslint.org/docs/latest/rules/no-new-native-nonconstructor
110
+ // TODO: semver-major, enable
111
+ 'no-new-native-nonconstructor' : 'off' ,
112
+
108
113
// Disallow returning values from Promise executor functions
109
114
// https://eslint.org/docs/rules/no-promise-executor-return
110
115
'no-promise-executor-return' : 'error' ,
You can’t perform that action at this time.
0 commit comments