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 = {
104104 // https://eslint.org/docs/rules/no-empty-pattern
105105 'no-empty-pattern' : 'error' ,
106106
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+
107112 // disallow comparisons to null without a type-checking operator
108113 // https://eslint.org/docs/rules/no-eq-null
109114 'no-eq-null' : 'off' ,
Original file line number Diff line number Diff line change @@ -105,6 +105,11 @@ module.exports = {
105105 // disallow the use of object properties of the global object (Math and JSON) as functions
106106 'no-obj-calls' : 'error' ,
107107
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+
108113 // Disallow returning values from Promise executor functions
109114 // https://eslint.org/docs/rules/no-promise-executor-return
110115 'no-promise-executor-return' : 'error' ,
You can’t perform that action at this time.
0 commit comments