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/prefer-arrow-callback.js | |
parent | 2da7ff5e969538a19c27e6929d435094347f90a8 (diff) | |
download | android-node-v8-77b39c2eb2c9fe437d0e09e3e7682564d815c7fb.tar.gz android-node-v8-77b39c2eb2c9fe437d0e09e3e7682564d815c7fb.tar.bz2 android-node-v8-77b39c2eb2c9fe437d0e09e3e7682564d815c7fb.zip |
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/prefer-arrow-callback.js')
-rw-r--r-- | tools/node_modules/eslint/lib/rules/prefer-arrow-callback.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/node_modules/eslint/lib/rules/prefer-arrow-callback.js b/tools/node_modules/eslint/lib/rules/prefer-arrow-callback.js index b4bbf33f29..a0957399ea 100644 --- a/tools/node_modules/eslint/lib/rules/prefer-arrow-callback.js +++ b/tools/node_modules/eslint/lib/rules/prefer-arrow-callback.js @@ -146,10 +146,12 @@ module.exports = { type: "object", properties: { allowNamedFunctions: { - type: "boolean" + type: "boolean", + default: false }, allowUnboundThis: { - type: "boolean" + type: "boolean", + default: true } }, additionalProperties: false |