diff options
author | cjihrig <cjihrig@gmail.com> | 2020-02-28 17:07:33 -0500 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-03-11 16:42:38 +0100 |
commit | 2348ca0ce49d3f4291963b24acfbd88f12e13488 (patch) | |
tree | e601e2073b4b58d4d58e89178abe5c0ad0f5941e /tools/node_modules/eslint/lib/shared | |
parent | 7eaa813fcf1488cd5bf24e922828fab417739676 (diff) | |
download | node-new-2348ca0ce49d3f4291963b24acfbd88f12e13488.tar.gz |
tools: update ESLint to 7.0.0-alpha.1
Update ESLint to 7.0.0-alpha.1
PR-URL: https://github.com/nodejs/node/pull/31400
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'tools/node_modules/eslint/lib/shared')
-rw-r--r-- | tools/node_modules/eslint/lib/shared/config-validator.js | 2 | ||||
-rw-r--r-- | tools/node_modules/eslint/lib/shared/naming.js | 2 | ||||
-rw-r--r-- | tools/node_modules/eslint/lib/shared/types.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/node_modules/eslint/lib/shared/config-validator.js b/tools/node_modules/eslint/lib/shared/config-validator.js index 70eaf0a967..458bd2a802 100644 --- a/tools/node_modules/eslint/lib/shared/config-validator.js +++ b/tools/node_modules/eslint/lib/shared/config-validator.js @@ -190,7 +190,7 @@ function validateRules( /** * Validates a `globals` section of a config file - * @param {Object} globalsConfig The `glboals` section + * @param {Object} globalsConfig The `globals` section * @param {string|null} source The name of the configuration source to report in the event of an error. * @returns {void} */ diff --git a/tools/node_modules/eslint/lib/shared/naming.js b/tools/node_modules/eslint/lib/shared/naming.js index b99155f15c..32cff94538 100644 --- a/tools/node_modules/eslint/lib/shared/naming.js +++ b/tools/node_modules/eslint/lib/shared/naming.js @@ -78,7 +78,7 @@ function getShorthandName(fullname, prefix) { /** * Gets the scope (namespace) of a term. * @param {string} term The term which may have the namespace. - * @returns {string} The namepace of the term if it has one. + * @returns {string} The namespace of the term if it has one. */ function getNamespaceFromTerm(term) { const match = term.match(NAMESPACE_REGEX); diff --git a/tools/node_modules/eslint/lib/shared/types.js b/tools/node_modules/eslint/lib/shared/types.js index a5bd0200e2..f3d1a7f29f 100644 --- a/tools/node_modules/eslint/lib/shared/types.js +++ b/tools/node_modules/eslint/lib/shared/types.js @@ -21,7 +21,7 @@ module.exports = {}; /** * @typedef {Object} ParserOptions * @property {EcmaFeatures} [ecmaFeatures] The optional features. - * @property {3|5|6|7|8|9|10|2015|2016|2017|2018|2019} [ecmaVersion] The ECMAScript version (or revision number). + * @property {3|5|6|7|8|9|10|11|2015|2016|2017|2018|2019|2020} [ecmaVersion] The ECMAScript version (or revision number). * @property {"script"|"module"} [sourceType] The source code type. */ |