Skip to content

Commit

Permalink
feat: Enhance default ignore patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
yamadashy committed Jan 27, 2025
1 parent f3bc06f commit 423872c
Showing 1 changed file with 29 additions and 6 deletions.
35 changes: 29 additions & 6 deletions src/config/defaultIgnore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -105,11 +110,6 @@ export const defaultIgnoreList = [
'**/*.swn',
'**/*.bak',

// Package manager locks
'**/package-lock.json',
'**/yarn.lock',
'**/pnpm-lock.yaml',

// Build outputs
'build/**',
'out/**',
Expand All @@ -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]',
Expand All @@ -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',
];

0 comments on commit 423872c

Please sign in to comment.