Skip to content

Commit

Permalink
Update constants.ts (webpro-nl#605)
Browse files Browse the repository at this point in the history
`ln`: common command for generating symlinks
https://www.npmjs.com/package/ln
(Last publish: 8 years ago)

`xcodebuild`: Apple dev tool for building macOS/iOS software
https://www.npmjs.com/package/xcodebuild
(Last publish: 10 years ago)

`bundle`: ruby package manager
https://www.npmjs.com/package/bundle
(Last publish: 6 years ago)

`gem`: ruby tool
https://www.npmjs.com/package/gem
(Last publish: 7 years ago)

`env`: linux command for getting env vars
https://www.npmjs.com/package/env
(Last publish: 12 years ago)
  • Loading branch information
ptmkenny authored Apr 29, 2024
1 parent 7100a6d commit 4dc1f6b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/knip/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const GLOBAL_IGNORE_PATTERNS = ['**/node_modules/**', '.yarn'];
export const IGNORED_GLOBAL_BINARIES = new Set([
'bash',
'bun',
'bundle',
'bunx',
'cat',
'cd',
Expand All @@ -35,12 +36,15 @@ export const IGNORED_GLOBAL_BINARIES = new Set([
'dirname',
'docker',
'echo',
'env',
'exec',
'exit',
'find',
'gem',
'git',
'grep',
'gzip',
'ln',
'ls',
'mkdir',
'mv',
Expand All @@ -58,6 +62,7 @@ export const IGNORED_GLOBAL_BINARIES = new Set([
'true',
'yarn',
'xargs',
'xcodebuild',
]);

export const IGNORED_DEPENDENCIES = new Set(['knip', 'typescript']);
Expand Down

0 comments on commit 4dc1f6b

Please sign in to comment.