Skip to content

Enable treatTagHintsAsErrors in knip config #2821

@cylewaitforit

Description

@cylewaitforit

treatTagHintsAsErrors is now available in knip v6.15.0. It can be enabled to prevent tags determined as unnecessary by knip from remaining in the codebase. This will of course require that the repo is bumped to knip v6.15.0 or above.

those were reported by knip’s “Tag hints” as unnecessary. I removed them but haven’t found a way to make knip error out if there are tag hints.

Originally posted by @TkDodo in #2786 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions