Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💡 Allow converting "configuration hints" into errors #891

Open
lishaduck opened this issue Dec 24, 2024 · 0 comments
Open

💡 Allow converting "configuration hints" into errors #891

lishaduck opened this issue Dec 24, 2024 · 0 comments
Labels
feature request Feature request

Comments

@lishaduck
Copy link

Suggest an idea for Knip

When a package is in ignoreDependencies but then gets used, Knip gives off a configuration hint. They're useful, but only if you notice them. I primarily run checks in CI, so if it doesn't error, I don't see it. I'd love to convert these issues into errors, forcing me to remove them so that the config stays clean and up-to-date.
Given that hints exist, all of the logic is probably there; this'll probably just need to wired up to however you manage exit codes.

@lishaduck lishaduck added the feature request Feature request label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request
Projects
None yet
Development

No branches or pull requests

1 participant