Skip to content

Commit

Permalink
[eslint config] [base] add new disabled rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jan 28, 2024
1 parent 11ab371 commit e95b1f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eslint-config-airbnb-base/rules/best-practices.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ module.exports = {
// https://eslint.org/docs/rules/no-nonoctal-decimal-escape
'no-nonoctal-decimal-escape': 'error',

// Disallow calls to the Object constructor without an argument
// https://eslint.org/docs/latest/rules/no-object-constructor
// TODO: enable, semver-major
'no-object-constructor': 'off',

// disallow use of (old style) octal literals
// https://eslint.org/docs/rules/no-octal
'no-octal': 'error',
Expand Down

0 comments on commit e95b1f2

Please sign in to comment.