✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!

deadcode dependency-analysis dependency-management javascript lint linter maintenance typescript unused-code unused-exports
4 Open Issues Need Help Last updated: Jun 25, 2025

Open Issues Need Help

View All on GitHub

AI Summary: Modify the Knip tool to correctly identify and mark as 'used' files referenced within the `globalSetup` key of Playwright configuration files. This involves updating Knip's parsing logic to recognize and process this specific configuration setting, preventing the erroneous flagging of these files as unused.

Complexity: 4/5
good first issue feature request

✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!

TypeScript
#deadcode#dependency-analysis#dependency-management#javascript#lint#linter#maintenance#typescript#unused-code#unused-exports

AI Summary: Debug and fix a bug in the Knip CLI tool where absolute paths provided to the `--preprocessor` argument are not correctly resolved, resulting in an incorrect path being appended to the original path. The issue needs to be reproduced using the provided reproduction URL and a fix implemented to ensure absolute paths are handled correctly.

Complexity: 3/5
good first issue feature request

✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!

TypeScript
#deadcode#dependency-analysis#dependency-management#javascript#lint#linter#maintenance#typescript#unused-code#unused-exports

AI Summary: Debug and fix a bug in the Knip tool where it incorrectly identifies binaries (like `tsx`) used within `concurrently` commands as unused. The issue is reproducible via a provided GitHub repository, and requires understanding of how Knip analyzes dependencies and handles command-line arguments.

Complexity: 4/5
good first issue feature request

✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!

TypeScript
#deadcode#dependency-analysis#dependency-management#javascript#lint#linter#maintenance#typescript#unused-code#unused-exports

AI Summary: The task is to debug and fix a bug in the Knip plugin for Biome 2.0. The plugin currently throws a TypeError because it incorrectly assumes the `extends` key in the `biome.json` configuration file is an array when it can also be a string in Biome 2.0. The fix requires modifying the Knip plugin's code to handle both array and string types for the `extends` key.

Complexity: 4/5
bug good first issue

✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!

TypeScript
#deadcode#dependency-analysis#dependency-management#javascript#lint#linter#maintenance#typescript#unused-code#unused-exports