Skip to content

Commit 614e02f

Browse files
authored
Ignore cypress test files (#39)
1 parent 8b7268a commit 614e02f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/only-export-components.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export const onlyExportComponents: TSESLint.RuleModule<
6161
if (
6262
filename.includes(".test.") ||
6363
filename.includes(".spec.") ||
64+
filename.includes(".cy.") ||
6465
filename.includes(".stories.")
6566
) {
6667
return {};

0 commit comments

Comments
 (0)