diff options
author | cjihrig <cjihrig@gmail.com> | 2019-02-15 16:51:43 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-02-17 21:56:18 -0500 |
commit | 77b39c2eb2c9fe437d0e09e3e7682564d815c7fb (patch) | |
tree | a10a28bd5022e46c7ba49103282f63a80bf08886 /tools/node_modules/eslint/lib/rules/no-magic-numbers.js | |
parent | 2da7ff5e969538a19c27e6929d435094347f90a8 (diff) | |
download | node-new-77b39c2eb2c9fe437d0e09e3e7682564d815c7fb.tar.gz |
tools: update ESLint to 5.14.0
Update ESLint to 5.14.0
PR-URL: https://github.com/nodejs/node/pull/26142
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Wyatt Preul <wpreul@gmail.com>
Diffstat (limited to 'tools/node_modules/eslint/lib/rules/no-magic-numbers.js')
-rw-r--r-- | tools/node_modules/eslint/lib/rules/no-magic-numbers.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/node_modules/eslint/lib/rules/no-magic-numbers.js b/tools/node_modules/eslint/lib/rules/no-magic-numbers.js index 84c08dfb08..2c6ea61e28 100644 --- a/tools/node_modules/eslint/lib/rules/no-magic-numbers.js +++ b/tools/node_modules/eslint/lib/rules/no-magic-numbers.js @@ -24,10 +24,12 @@ module.exports = { type: "object", properties: { detectObjects: { - type: "boolean" + type: "boolean", + default: false }, enforceConst: { - type: "boolean" + type: "boolean", + default: false }, ignore: { type: "array", @@ -37,7 +39,8 @@ module.exports = { uniqueItems: true }, ignoreArrayIndexes: { - type: "boolean" + type: "boolean", + default: false } }, additionalProperties: false |