From 614e02f79c069603f17c5219dadaf65874089d19 Mon Sep 17 00:00:00 2001 From: Idris <32242706+abuabdillahi@users.noreply.github.com> Date: Mon, 11 Mar 2024 11:12:44 +0000 Subject: [PATCH] Ignore cypress test files (#39) --- 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 {};