Skip to content

Commit

Permalink
clean up github commit suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
vwillyams committed Oct 23, 2024
1 parent 82b4da7 commit 6655950
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/rules/no-multi-comp.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = {
return node.declaration.id.name;
}
if (node.declaration.declarations) {
const declarator = node.declaration.declarations.find((declarator) => validIdentifiers.has(declarator.init.type));
const declarator = node.declaration.declarations.find((declaration) => validIdentifiers.has(declaration.init.type));
if (declarator) {
return declarator.id.name;
}
Expand Down Expand Up @@ -119,7 +119,6 @@ module.exports = {
}

values(components.list())
.filter((component) => !isIgnored(component))
.filter((component) => !isIgnored(component) && !isPrivate(component))
.slice(1)
.forEach((component) => {
Expand Down

0 comments on commit 6655950

Please sign in to comment.