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 da04e17 commit 23c5e34Copy full SHA for 23c5e34
lib/rules/no-multi-comp.js
@@ -109,7 +109,7 @@ module.exports = {
109
* @returns {boolean} True if the component is exported or exportOnly is false
110
*/
111
function isExported(component) {
112
- return !exportOnly && exportedComponents.has(findComponentIdentifierFromComponent(component));
+ return !exportOnly || exportedComponents.has(findComponentIdentifierFromComponent(component));
113
}
114
115
const rule = {
0 commit comments