summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/lib/rules/max-statements-per-line.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/lib/rules/max-statements-per-line.js')
-rw-r--r--tools/node_modules/eslint/lib/rules/max-statements-per-line.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/node_modules/eslint/lib/rules/max-statements-per-line.js b/tools/node_modules/eslint/lib/rules/max-statements-per-line.js
index e9212001a3..5407cff3c5 100644
--- a/tools/node_modules/eslint/lib/rules/max-statements-per-line.js
+++ b/tools/node_modules/eslint/lib/rules/max-statements-per-line.js
@@ -61,7 +61,6 @@ module.exports = {
/**
* Reports with the first extra statement, and clears it.
- *
* @returns {void}
*/
function reportFirstExtraStatementAndClear() {
@@ -81,8 +80,7 @@ module.exports = {
/**
* Gets the actual last token of a given node.
- *
- * @param {ASTNode} node - A node to get. This is a node except EmptyStatement.
+ * @param {ASTNode} node A node to get. This is a node except EmptyStatement.
* @returns {Token} The actual last token.
*/
function getActualLastToken(node) {
@@ -92,8 +90,7 @@ module.exports = {
/**
* Addresses a given node.
* It updates the state of this rule, then reports the node if the node violated this rule.
- *
- * @param {ASTNode} node - A node to check.
+ * @param {ASTNode} node A node to check.
* @returns {void}
*/
function enterStatement(node) {
@@ -127,8 +124,7 @@ module.exports = {
/**
* Updates the state of this rule with the end line of leaving node to check with the next statement.
- *
- * @param {ASTNode} node - A node to check.
+ * @param {ASTNode} node A node to check.
* @returns {void}
*/
function leaveStatement(node) {