Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Enhance default ignore patterns #322

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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',
];
Loading