summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/lib/rules/no-restricted-imports.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-10-25 12:48:14 -0700
committercjihrig <cjihrig@gmail.com>2019-10-28 09:51:24 -0400
commit511f67bcb42b59c9a3a3efab8fed578db100afe1 (patch)
tree8b64f390dd727dd739fd2fb84d69df3c829a9315 /tools/node_modules/eslint/lib/rules/no-restricted-imports.js
parentb35181f877d5a92e8bb52eb071489f2a7d87494b (diff)
downloadandroid-node-v8-511f67bcb42b59c9a3a3efab8fed578db100afe1.tar.gz
android-node-v8-511f67bcb42b59c9a3a3efab8fed578db100afe1.tar.bz2
android-node-v8-511f67bcb42b59c9a3a3efab8fed578db100afe1.zip
tools: update ESLint to 6.6.0
Update ESLint to 6.6.0 PR-URL: https://github.com/nodejs/node/pull/30123 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'tools/node_modules/eslint/lib/rules/no-restricted-imports.js')
-rw-r--r--tools/node_modules/eslint/lib/rules/no-restricted-imports.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/tools/node_modules/eslint/lib/rules/no-restricted-imports.js b/tools/node_modules/eslint/lib/rules/no-restricted-imports.js
index 6f3d2158c8..bed9c2432a 100644
--- a/tools/node_modules/eslint/lib/rules/no-restricted-imports.js
+++ b/tools/node_modules/eslint/lib/rules/no-restricted-imports.js
@@ -116,7 +116,7 @@ module.exports = {
/**
* Checks to see if "*" is being used to import everything.
- * @param {Set.<string>} importNames - Set of import names that are being imported
+ * @param {Set.<string>} importNames Set of import names that are being imported
* @returns {boolean} whether everything is imported or not
*/
function isEverythingImported(importNames) {
@@ -145,7 +145,7 @@ module.exports = {
/**
* Report a restricted path specifically for patterns.
- * @param {node} node - representing the restricted path reference
+ * @param {node} node representing the restricted path reference
* @returns {void}
* @private
*/
@@ -163,8 +163,8 @@ module.exports = {
/**
* Report a restricted path specifically when using the '*' import.
- * @param {string} importSource - path of the import
- * @param {node} node - representing the restricted path reference
+ * @param {string} importSource path of the import
+ * @param {node} node representing the restricted path reference
* @returns {void}
* @private
*/
@@ -185,8 +185,8 @@ module.exports = {
/**
* Check if the given importSource is restricted because '*' is being imported.
- * @param {string} importSource - path of the import
- * @param {Set.<string>} importNames - Set of import names that are being imported
+ * @param {string} importSource path of the import
+ * @param {Set.<string>} importNames Set of import names that are being imported
* @returns {boolean} whether the path is restricted
* @private
*/
@@ -198,8 +198,8 @@ module.exports = {
/**
* Check if the given importNames are restricted given a list of restrictedImportNames.
- * @param {Set.<string>} importNames - Set of import names that are being imported
- * @param {string[]} restrictedImportNames - array of import names that are restricted for this import
+ * @param {Set.<string>} importNames Set of import names that are being imported
+ * @param {string[]} restrictedImportNames array of import names that are restricted for this import
* @returns {boolean} whether the objectName is restricted
* @private
*/
@@ -211,8 +211,8 @@ module.exports = {
/**
* Check if the given importSource is a restricted path.
- * @param {string} importSource - path of the import
- * @param {Set.<string>} importNames - Set of import names that are being imported
+ * @param {string} importSource path of the import
+ * @param {Set.<string>} importNames Set of import names that are being imported
* @returns {boolean} whether the variable is a restricted path or not
* @private
*/
@@ -232,7 +232,7 @@ module.exports = {
/**
* Check if the given importSource is restricted by a pattern.
- * @param {string} importSource - path of the import
+ * @param {string} importSource path of the import
* @returns {boolean} whether the variable is a restricted pattern or not
* @private
*/