Unsupported
This page is an overview of related features Knip does not support.
Unused variables
Knip doesn’t look for unused variables within a file. It looks for exported and imported values and types across files.
Use ESLint, Biome or oxc to find unused variables within files.
Unused properties
Knip does not yet support finding unused members of types, interfaces and objects. This includes returned objects from exported functions and objects passed as React component props.
Knip does support finding unused members of enums and classes, and exported values and types on imported namespaces.
Circular dependencies
Knip has no issues with circular dependencies, and does not report them. Tools that do support this include DPDM, Madge and skott.
ISC License © 2024 Lars Kappert