From 262857654250f83a6cde91f2d57e378ed5ff906a Mon Sep 17 00:00:00 2001 From: Idris Date: Mon, 11 Mar 2024 10:02:40 +0000 Subject: [PATCH] Ignore cypress test files --- src/only-export-components.ts | 1 + 1 file changed, 1 insertion(+) 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 {};