Skip to content

Commit

Permalink
Ignore cypress test files (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
abuabdillahi committed Mar 11, 2024
1 parent 8b7268a commit 614e02f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/only-export-components.ts
Expand Up @@ -61,6 +61,7 @@ export const onlyExportComponents: TSESLint.RuleModule<
if (
filename.includes(".test.") ||
filename.includes(".spec.") ||
filename.includes(".cy.") ||
filename.includes(".stories.")
) {
return {};
Expand Down

0 comments on commit 614e02f

Please sign in to comment.