Skip to content

💡 ignoreIssues in workspaces #1782

Description

@dorshinar

Suggest an idea for Knip

Hi!
We're adding knip to a monorepo, and I noticed that knip does not support ignoreIssues in workspaces.

I wanted to ask if there's a reason for that, and if not - if that can be added?

I imagine something like that:

{
  "workspaces": {
    "packages/package-a": {
      "ignoreIssues": {
        "utils.ts": ["exports"], // ignores all "exports" issues in `/packages/package-a/utils.ts`
      }
    }
  }
}

Where the path is relative to workspace root.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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