summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/lib/rules/no-extra-semi.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-extra-semi.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-extra-semi.js')
-rw-r--r--tools/node_modules/eslint/lib/rules/no-extra-semi.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/node_modules/eslint/lib/rules/no-extra-semi.js b/tools/node_modules/eslint/lib/rules/no-extra-semi.js
index e99dd67b35..e0a8df0565 100644
--- a/tools/node_modules/eslint/lib/rules/no-extra-semi.js
+++ b/tools/node_modules/eslint/lib/rules/no-extra-semi.js
@@ -40,7 +40,7 @@ module.exports = {
/**
* Reports an unnecessary semicolon error.
- * @param {Node|Token} nodeOrToken - A node or a token to be reported.
+ * @param {Node|Token} nodeOrToken A node or a token to be reported.
* @returns {void}
*/
function report(nodeOrToken) {
@@ -64,8 +64,7 @@ module.exports = {
/**
* Checks for a part of a class body.
* This checks tokens from a specified token to a next MethodDefinition or the end of class body.
- *
- * @param {Token} firstToken - The first token to check.
+ * @param {Token} firstToken The first token to check.
* @returns {void}
*/
function checkForPartOfClassBody(firstToken) {
@@ -83,7 +82,7 @@ module.exports = {
/**
* Reports this empty statement, except if the parent node is a loop.
- * @param {Node} node - A EmptyStatement node to be reported.
+ * @param {Node} node A EmptyStatement node to be reported.
* @returns {void}
*/
EmptyStatement(node) {
@@ -106,7 +105,7 @@ module.exports = {
/**
* Checks tokens from the head of this class body to the first MethodDefinition or the end of this class body.
- * @param {Node} node - A ClassBody node to check.
+ * @param {Node} node A ClassBody node to check.
* @returns {void}
*/
ClassBody(node) {
@@ -115,7 +114,7 @@ module.exports = {
/**
* Checks tokens from this MethodDefinition to the next MethodDefinition or the end of this class body.
- * @param {Node} node - A MethodDefinition node of the start point.
+ * @param {Node} node A MethodDefinition node of the start point.
* @returns {void}
*/
MethodDefinition(node) {