summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/lib/rules/block-spacing.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/lib/rules/block-spacing.js')
-rw-r--r--tools/node_modules/eslint/lib/rules/block-spacing.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/node_modules/eslint/lib/rules/block-spacing.js b/tools/node_modules/eslint/lib/rules/block-spacing.js
index e843148e5d..c6ed44a279 100644
--- a/tools/node_modules/eslint/lib/rules/block-spacing.js
+++ b/tools/node_modules/eslint/lib/rules/block-spacing.js
@@ -41,7 +41,7 @@ module.exports = {
/**
* Gets the open brace token from a given node.
- * @param {ASTNode} node - A BlockStatement/SwitchStatement node to get.
+ * @param {ASTNode} node A BlockStatement/SwitchStatement node to get.
* @returns {Token} The token of the open brace.
*/
function getOpenBrace(node) {
@@ -58,8 +58,8 @@ module.exports = {
* Checks whether or not:
* - given tokens are on same line.
* - there is/isn't a space between given tokens.
- * @param {Token} left - A token to check.
- * @param {Token} right - The token which is next to `left`.
+ * @param {Token} left A token to check.
+ * @param {Token} right The token which is next to `left`.
* @returns {boolean}
* When the option is `"always"`, `true` if there are one or more spaces between given tokens.
* When the option is `"never"`, `true` if there are not any spaces between given tokens.
@@ -74,7 +74,7 @@ module.exports = {
/**
* Reports invalid spacing style inside braces.
- * @param {ASTNode} node - A BlockStatement/SwitchStatement node to get.
+ * @param {ASTNode} node A BlockStatement/SwitchStatement node to get.
* @returns {void}
*/
function checkSpacingInsideBraces(node) {