mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-10 19:18:12 -05:00
[eslint config] [base] add new disabled rules
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user