Skip to content

Instantly share code, notes, and snippets.

@sambacha
Created February 9, 2025 10:01
Show Gist options
  • Save sambacha/9995c6a93288d6fec1e9f3ea4431d855 to your computer and use it in GitHub Desktop.
Save sambacha/9995c6a93288d6fec1e9f3ea4431d855 to your computer and use it in GitHub Desktop.
bun create @knip/config
bun add --dev --exact @biomejs/biome
npm install --save-dev --save-exact @biomejs/biome
npm init @knip/config
npm install -D knip typescript @types/node
npx knip
knip --fix
knip --fix --allow-remove-files
knip --fix-type exports,types
knip --fix-type exports,types,dependencies,files
@lintignore in JSDoc comments, so other linters can use the same.
bun add unlisted-package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment