Skip to content
Open
Changes from 1 commit
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
2 changes: 2 additions & 0 deletions app/utils/package-content-hints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ const POSSIBLY_UNNECESSARY_PATTERNS: readonly RegExp[] = [
/^(?:changelog|releasenotes|release-notes|history|contributing|contribute|news|collaborators)\.(?:md|markdown|txt)$/i,
// Match example.mjs, examples.js, stc
/^examples?\.(?:js|cjs|mjs|ts|mts|cts)$/,
/^playwright\.config\.(?:js|cjs|mjs|ts|mts|cts)$/,
/^vitest\.config\.(?:js|cjs|mjs|ts|mts|cts)$/,
]

export function isPossiblyUnnecessaryContent(name: string, type: 'file' | 'directory'): boolean {
Expand Down
Loading