From 77b39c2eb2c9fe437d0e09e3e7682564d815c7fb Mon Sep 17 00:00:00 2001 From: cjihrig Date: Fri, 15 Feb 2019 16:51:43 -0500 Subject: 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 Reviewed-By: Wyatt Preul --- tools/node_modules/eslint/lib/rules/no-magic-numbers.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tools/node_modules/eslint/lib/rules/no-magic-numbers.js') 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 -- cgit v1.2.1