From 3889fa54f95ac04f68a4655cbc5bd93df2c8f14b Mon Sep 17 00:00:00 2001 From: tianyingchun Date: Thu, 20 Jun 2024 11:46:33 +0800 Subject: [PATCH] feat: add `.vscode-test` to ignore --- .changeset/light-carrots-cover.md | 5 +++++ src/getDefaultIgnorePatterns.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/light-carrots-cover.md diff --git a/.changeset/light-carrots-cover.md b/.changeset/light-carrots-cover.md new file mode 100644 index 0000000..260a4c6 --- /dev/null +++ b/.changeset/light-carrots-cover.md @@ -0,0 +1,5 @@ +--- +"@hyperse/eslint-config-hyperse": patch +--- + +Add `.vscode-test` to ignore diff --git a/src/getDefaultIgnorePatterns.ts b/src/getDefaultIgnorePatterns.ts index d5a7ad2..06ee396 100644 --- a/src/getDefaultIgnorePatterns.ts +++ b/src/getDefaultIgnorePatterns.ts @@ -16,6 +16,7 @@ export const getDefaultIgnorePatterns = (ignores: string[] = []) => { '**/dist', '**/public', '**/.storybook', + '**/.vscode-test', '**/storybook-static', ...ignores, ];