We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b17c10b commit 55eef97Copy full SHA for 55eef97
eslint.js
@@ -21,7 +21,7 @@ const hasPlaywright = has('playwright')
21
22
const vitestFiles = ['**/__tests__/**/*', '**/*.test.*', '**/*.spec.*']
23
const testFiles = ['**/tests/**', '**/#tests/**', ...vitestFiles]
24
-const playwrightFiles = ['**/e2e/**']
+const playwrightFiles = ['**/tests/e2e/**']
25
26
export const config = [
27
{
@@ -313,8 +313,7 @@ export const config = [
313
314
hasPlaywright
315
? {
316
- files: ['**/tests/*.ts?(x)', '**/tests/*.js?(x)'],
317
- ignores: testFiles,
+ files: [...playwrightFiles],
318
plugins: {
319
playwright: (await import('eslint-plugin-playwright')).default,
320
},
0 commit comments