From 423872c9dd82fe8849099474403d30db283d386c Mon Sep 17 00:00:00 2001 From: Yamada Dev Date: Mon, 27 Jan 2025 23:59:46 +0900 Subject: [PATCH] feat: Enhance default ignore patterns --- src/config/defaultIgnore.ts | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/src/config/defaultIgnore.ts b/src/config/defaultIgnore.ts index 44b2a4c7..78a4cb25 100644 --- a/src/config/defaultIgnore.ts +++ b/src/config/defaultIgnore.ts @@ -54,8 +54,13 @@ export const defaultIgnoreList = [ // Optional npm cache directory '**/.npm/**', - // Optional eslint cache + // Cache directories '.eslintcache', + '.rollup.cache/**', + '.webpack.cache/**', + '.parcel-cache/**', + '.sass-cache/**', + '*.cache', // Optional REPL history '.node_repl_history', @@ -105,11 +110,6 @@ export const defaultIgnoreList = [ '**/*.swn', '**/*.bak', - // Package manager locks - '**/package-lock.json', - '**/yarn.lock', - '**/pnpm-lock.yaml', - // Build outputs 'build/**', 'out/**', @@ -122,6 +122,13 @@ export const defaultIgnoreList = [ 'repomix-output.*', 'repopack-output.*', // Legacy + // Essential Node.js-related entries + '**/package-lock.json', + '**/yarn-error.log', + '**/yarn.lock', + '**/pnpm-lock.yaml', + '**/bun.lockb', + // Essential Python-related entries '**/__pycache__/**', '**/*.py[cod]', @@ -138,4 +145,20 @@ export const defaultIgnoreList = [ '**/Cargo.toml.orig', '**/target/**', '**/*.rs.bk', + + // Essential PHP-related entries + '**/composer.lock', + + // Essential Ruby-related entries + '**/Gemfile.lock', + + // Essential Go-related entries + '**/go.sum', + + // Essential Elixir-related entries + '**/mix.lock', + + // Essential Haskell-related entries + '**/stack.yaml.lock', + '**/cabal.project.freeze', ];