This commit is contained in:
@@ -26,10 +26,13 @@ const rgPathPromise: Promise<string | null> = (async () => {
|
||||
export interface ContentHit { no: number; ln: string; ix: number }
|
||||
export interface ContentGroup { path: string; hits: ContentHit[] }
|
||||
|
||||
/** Always-excluded heavy/noise dirs, on top of gitignore + user excludes. */
|
||||
/** Always-excluded heavy/noise dirs and files, on top of gitignore + user
|
||||
* excludes. `.DS_Store` is here because `files.followGitignore` defaults to
|
||||
* false, so rg runs with --no-ignore and would otherwise list it in the tree. */
|
||||
const BASE_IGNORE = [
|
||||
'node_modules', '.git', 'out', 'dist', 'build', '.cache',
|
||||
'vendor', 'coverage', '.helder', '.next', '.nuxt', '.turbo', '.idea', '.vscode',
|
||||
'.DS_Store',
|
||||
]
|
||||
|
||||
const MAX_FILES = 400
|
||||
|
||||
Reference in New Issue
Block a user