Skip to content

Commit

Permalink
fix: add cypress support folder to eslint overrides
Browse files Browse the repository at this point in the history
Fixes #195
  • Loading branch information
haoqunjiang committed Dec 5, 2023
1 parent d3c1cc8 commit 6665f0e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utils/renderEslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ export default function renderEslint(
files: needsCypressCT
? [
'**/__tests__/*.{cy,spec}.{js,ts,jsx,tsx}',
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}'
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}',
'cypress/support/**/*.{js,ts,jsx,tsx}'
]
: ['cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}'],
: ['cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}', 'cypress/support/**/*.{js,ts,jsx,tsx}'],
extends: ['plugin:cypress/recommended']
}
]
Expand Down

0 comments on commit 6665f0e

Please sign in to comment.