Skip to content

Commit e95b1f2

Browse files
committedJan 28, 2024
[eslint config] [base] add new disabled rules
1 parent 11ab371 commit e95b1f2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎packages/eslint-config-airbnb-base/rules/best-practices.js

+5
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,11 @@ module.exports = {
217217
// https://eslint.org/docs/rules/no-nonoctal-decimal-escape
218218
'no-nonoctal-decimal-escape': 'error',
219219

220+
// Disallow calls to the Object constructor without an argument
221+
// https://eslint.org/docs/latest/rules/no-object-constructor
222+
// TODO: enable, semver-major
223+
'no-object-constructor': 'off',
224+
220225
// disallow use of (old style) octal literals
221226
// https://eslint.org/docs/rules/no-octal
222227
'no-octal': 'error',

0 commit comments

Comments
 (0)
Failed to load comments.