From 68cc09bd93ce458b64d1aca4b4615edce8332dcd Mon Sep 17 00:00:00 2001 From: Armano Date: Mon, 26 Nov 2018 00:32:20 +0100 Subject: [PATCH] chore: Fix typo in comments --- lib/rules/no-v-html.js | 2 +- lib/utils/index.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/rules/no-v-html.js b/lib/rules/no-v-html.js index 6ca85f5dc..3f59f23f6 100644 --- a/lib/rules/no-v-html.js +++ b/lib/rules/no-v-html.js @@ -6,7 +6,7 @@ const utils = require('../utils') // ------------------------------------------------------------------------------ -// Rule Definitionutilu +// Rule Definition // ------------------------------------------------------------------------------ module.exports = { diff --git a/lib/utils/index.js b/lib/utils/index.js index cf58a0fce..feee8cc11 100644 --- a/lib/utils/index.js +++ b/lib/utils/index.js @@ -264,7 +264,7 @@ module.exports = { /** * Check whether the given name is a MathML element or not. - * @param {ASTNode} name The node to check. + * @param {ASTNode} node The node to check. * @returns {boolean} `true` if the node is a MathML element. */ isMathMLElementNode (node) { @@ -307,7 +307,7 @@ module.exports = { /** * Check whether the given attribute node is a binding - * @param {ASTNode} name The attribute to check. + * @param {ASTNode} attribute The attribute to check. * @returns {boolean} */ isBindingAttribute (attribute) { @@ -327,7 +327,7 @@ module.exports = { /** * Parse member expression node to get array with all of its parts - * @param {ASTNode} MemberExpression + * @param {ASTNode} node MemberExpression * @returns {Array} */ parseMemberExpression (node) { @@ -605,7 +605,7 @@ module.exports = { /** * Return generator with all properties * @param {ASTNode} node Node to check - * @param {string} groupName Name of parent group + * @param {Set} groups Name of parent group */ * iterateProperties (node, groups) { const nodes = node.properties.filter(p => p.type === 'Property' && groups.has(this.getStaticPropertyName(p.key)))