summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/lib/rules/no-console.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-console.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-console.js')
-rw-r--r--tools/node_modules/eslint/lib/rules/no-console.js12
1 files changed, 4 insertions, 8 deletions
diff --git a/tools/node_modules/eslint/lib/rules/no-console.js b/tools/node_modules/eslint/lib/rules/no-console.js
index e4b5ce1ea4..56dbbc3a9f 100644
--- a/tools/node_modules/eslint/lib/rules/no-console.js
+++ b/tools/node_modules/eslint/lib/rules/no-console.js
@@ -54,8 +54,7 @@ module.exports = {
/**
* Checks whether the given reference is 'console' or not.
- *
- * @param {eslint-scope.Reference} reference - The reference to check.
+ * @param {eslint-scope.Reference} reference The reference to check.
* @returns {boolean} `true` if the reference is 'console'.
*/
function isConsole(reference) {
@@ -67,8 +66,7 @@ module.exports = {
/**
* Checks whether the property name of the given MemberExpression node
* is allowed by options or not.
- *
- * @param {ASTNode} node - The MemberExpression node to check.
+ * @param {ASTNode} node The MemberExpression node to check.
* @returns {boolean} `true` if the property name of the node is allowed.
*/
function isAllowed(node) {
@@ -80,8 +78,7 @@ module.exports = {
/**
* Checks whether the given reference is a member access which is not
* allowed by options or not.
- *
- * @param {eslint-scope.Reference} reference - The reference to check.
+ * @param {eslint-scope.Reference} reference The reference to check.
* @returns {boolean} `true` if the reference is a member access which
* is not allowed by options.
*/
@@ -98,8 +95,7 @@ module.exports = {
/**
* Reports the given reference as a violation.
- *
- * @param {eslint-scope.Reference} reference - The reference to report.
+ * @param {eslint-scope.Reference} reference The reference to report.
* @returns {void}
*/
function report(reference) {