Skip to content

Commit 40300e4

Browse files
committed
fix: fix Cypress ESLint overrides glob pattern
Fixes vuejs#169
1 parent ee7d2ec commit 40300e4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

utils/renderEslint.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ export default function renderEslint(
2020
additionalConfig.overrides = [
2121
{
2222
files: needsCypressCT
23-
? ['**/__tests__/*.{cy,spec}.{js,ts,jsx,tsx}', 'cypress/e2e/**.{cy,spec}.{js,ts,jsx,tsx}']
24-
: ['cypress/e2e/**.{cy,spec}.{js,ts,jsx,tsx}'],
23+
? [
24+
'**/__tests__/*.{cy,spec}.{js,ts,jsx,tsx}',
25+
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}'
26+
]
27+
: ['cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}'],
2528
extends: ['plugin:cypress/recommended']
2629
}
2730
]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy