Skip to content

Commit 6665f0e

Browse files
committed
fix: add cypress support folder to eslint overrides
Fixes vuejs#195
1 parent d3c1cc8 commit 6665f0e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/renderEslint.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ export default function renderEslint(
2424
files: needsCypressCT
2525
? [
2626
'**/__tests__/*.{cy,spec}.{js,ts,jsx,tsx}',
27-
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}'
27+
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}',
28+
'cypress/support/**/*.{js,ts,jsx,tsx}'
2829
]
29-
: ['cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}'],
30+
: ['cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}', 'cypress/support/**/*.{js,ts,jsx,tsx}'],
3031
extends: ['plugin:cypress/recommended']
3132
}
3233
]

0 commit comments

Comments
 (0)