From 94f4100e320843ebbe5d0012a6f4b20293391667 Mon Sep 17 00:00:00 2001 From: Percy Ma Date: Wed, 6 Dec 2023 21:16:36 +0800 Subject: [PATCH] chore: default exclude `eslint.config` and `prettier.config` --- packages/vitest/src/defaults.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vitest/src/defaults.ts b/packages/vitest/src/defaults.ts index 997210e4ebea..2d1b2ad57e8a 100644 --- a/packages/vitest/src/defaults.ts +++ b/packages/vitest/src/defaults.ts @@ -3,7 +3,7 @@ import type { BenchmarkUserOptions, CoverageV8Options, ResolvedCoverageOptions, import { isCI } from './utils/env' export const defaultInclude = ['**/*.{test,spec}.?(c|m)[jt]s?(x)'] -export const defaultExclude = ['**/node_modules/**', '**/dist/**', '**/cypress/**', '**/.{idea,git,cache,output,temp}/**', '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*'] +export const defaultExclude = ['**/node_modules/**', '**/dist/**', '**/cypress/**', '**/.{idea,git,cache,output,temp}/**', '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*'] export const benchmarkConfigDefaults: Required> = { include: ['**/*.{bench,benchmark}.?(c|m)[jt]s?(x)'], exclude: defaultExclude,