Skip to content

Conversation

@webpro
Copy link
Contributor

@webpro webpro commented Dec 9, 2025

When running knip against the typescript codebase it's convenient to not have to add these flags on the CLI. Also good to have all config together in a single file.

Also removed an obsolete knipignore tag and an entry point that no longer exists.

Copilot AI review requested due to automatic review settings December 9, 2025 04:16
@github-project-automation github-project-automation bot moved this to Not started in PR Backlog Dec 9, 2025
@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Dec 9, 2025
@typescript-bot
Copy link
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

1 similar comment
@typescript-bot
Copy link
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

@github-project-automation github-project-automation bot moved this from Not started to Needs merge in PR Backlog Dec 9, 2025
@jakebailey jakebailey enabled auto-merge December 9, 2025 04:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR consolidates knip configuration by moving command-line arguments into the knip.jsonc configuration file. This improves maintainability by keeping all knip settings in a single location and simplifies the CLI invocation. Additionally, it removes an obsolete @knipignore tag from an unused function and cleans up a non-existent entry point.

  • Moved --tags and --exclude arguments from Herebyfile.mjs to knip.jsonc
  • Removed non-existent .eslint-plugin-local.cjs entry point
  • Removed obsolete @knipignore tag from unused hasTypeArguments function

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
knip.jsonc Added exclude and tags configuration options, removed obsolete .eslint-plugin-local.cjs entry point
Herebyfile.mjs Simplified knip task by removing CLI arguments now defined in config file
src/compiler/utilities.ts Removed obsolete @knipignore tag from hasTypeArguments function

@jakebailey jakebailey added this pull request to the merge queue Dec 9, 2025
Merged via the queue into microsoft:main with commit ab142be Dec 9, 2025
38 of 39 checks passed
@github-project-automation github-project-automation bot moved this from Needs merge to Done in PR Backlog Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants