#598 Nx plugin doesn't look in package.json#880
Merged
webpro merged 3 commits intoDec 16, 2024
Conversation
Signed-off-by: ysknsid25 <[email protected]>
Member
|
Thanks @ysknsid25! Nice to meet you too 😃 Any chance you could add that |
Contributor
Author
|
@webpro |
fix unit test Signed-off-by: ysknsid25 <[email protected]>
fix unit test Signed-off-by: ysknsid25 <[email protected]>
Contributor
Author
|
@webpro |
commit: |
Member
|
Perfect. Thank you, Kanon! |
Member
|
🚀 This pull request is included in v5.41.0. See Release 5.41.0 for release notes. Using Knip in a commercial project? Please consider becoming a sponsor. |
|
Thank you! 🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nice to meet you, @webpro !
This PR is in response to issue #598 .
Confirmation
Follow these steps to create a React project with nx installed.
I then installed nx and rimraf, added the following settings to
package.jsonandnpx knipand it reproduced as per the issue.I then directly rewrote
knip/packages/knip/src/plugins/nx/index.tsand rewrotenpx knipagain, and confirmed that the false positives were no longer being detected.