We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82b4da7 commit 6655950Copy full SHA for 6655950
lib/rules/no-multi-comp.js
@@ -66,7 +66,7 @@ module.exports = {
66
return node.declaration.id.name;
67
}
68
if (node.declaration.declarations) {
69
- const declarator = node.declaration.declarations.find((declarator) => validIdentifiers.has(declarator.init.type));
+ const declarator = node.declaration.declarations.find((declaration) => validIdentifiers.has(declaration.init.type));
70
if (declarator) {
71
return declarator.id.name;
72
@@ -119,7 +119,6 @@ module.exports = {
119
120
121
values(components.list())
122
- .filter((component) => !isIgnored(component))
123
.filter((component) => !isIgnored(component) && !isPrivate(component))
124
.slice(1)
125
.forEach((component) => {
0 commit comments