Skip to content

Commit 6655950

Browse files
committed
clean up github commit suggestions
1 parent 82b4da7 commit 6655950

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/rules/no-multi-comp.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ module.exports = {
6666
return node.declaration.id.name;
6767
}
6868
if (node.declaration.declarations) {
69-
const declarator = node.declaration.declarations.find((declarator) => validIdentifiers.has(declarator.init.type));
69+
const declarator = node.declaration.declarations.find((declaration) => validIdentifiers.has(declaration.init.type));
7070
if (declarator) {
7171
return declarator.id.name;
7272
}
@@ -119,7 +119,6 @@ module.exports = {
119119
}
120120

121121
values(components.list())
122-
.filter((component) => !isIgnored(component))
123122
.filter((component) => !isIgnored(component) && !isPrivate(component))
124123
.slice(1)
125124
.forEach((component) => {

0 commit comments

Comments
 (0)