Skip to content

Commit 61a667f

Browse files
armano2michalsnik
authored andcommitted
chore: Fix typo in comments (#679)
1 parent f4eef78 commit 61a667f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/rules/no-v-html.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
const utils = require('../utils')
77

88
// ------------------------------------------------------------------------------
9-
// Rule Definitionutilu
9+
// Rule Definition
1010
// ------------------------------------------------------------------------------
1111

1212
module.exports = {

lib/utils/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ module.exports = {
264264

265265
/**
266266
* Check whether the given name is a MathML element or not.
267-
* @param {ASTNode} name The node to check.
267+
* @param {ASTNode} node The node to check.
268268
* @returns {boolean} `true` if the node is a MathML element.
269269
*/
270270
isMathMLElementNode (node) {
@@ -307,7 +307,7 @@ module.exports = {
307307

308308
/**
309309
* Check whether the given attribute node is a binding
310-
* @param {ASTNode} name The attribute to check.
310+
* @param {ASTNode} attribute The attribute to check.
311311
* @returns {boolean}
312312
*/
313313
isBindingAttribute (attribute) {
@@ -327,7 +327,7 @@ module.exports = {
327327

328328
/**
329329
* Parse member expression node to get array with all of its parts
330-
* @param {ASTNode} MemberExpression
330+
* @param {ASTNode} node MemberExpression
331331
* @returns {Array}
332332
*/
333333
parseMemberExpression (node) {
@@ -605,7 +605,7 @@ module.exports = {
605605
/**
606606
* Return generator with all properties
607607
* @param {ASTNode} node Node to check
608-
* @param {string} groupName Name of parent group
608+
* @param {Set} groups Name of parent group
609609
*/
610610
* iterateProperties (node, groups) {
611611
const nodes = node.properties.filter(p => p.type === 'Property' && groups.has(this.getStaticPropertyName(p.key)))

0 commit comments

Comments
 (0)