diff --git a/src/only-export-components.ts b/src/only-export-components.ts index 26346af..1cc31ff 100644 --- a/src/only-export-components.ts +++ b/src/only-export-components.ts @@ -61,6 +61,7 @@ export const onlyExportComponents: TSESLint.RuleModule< if ( filename.includes(".test.") || filename.includes(".spec.") || + filename.includes(".cy.") || filename.includes(".stories.") ) { return {};