Skip to content

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.

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.

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