-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: Adds typo plugin #544
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting a few changes. Also, main
is now advanced enough to allow running plugins locally from a .kdl
file. Please rebase if you have not and make sure you have successfully executed this plugin before re-requesting review.
Also remove |
a062841
to
f88eea1
Compare
f88eea1
to
513c61d
Compare
513c61d
to
59dc585
Compare
59dc585
to
dfd979d
Compare
Resolves issue #537
Most of the code in
plugins/typo/src/
is a refactor of the code found inhipcheck/src/metrics/typo.rs
andhipcheck/src/analysis/mod.rs
. Some of the internal functions and types have been changed to support a simpler return type. This reflects the fact that he plugin's query does not use any information about what kind of typos were found for each flagged dependency, just which ones were flagged as typos.The plugin includes a
Typos.toml
file for supporting JavaScript, copied fromconfig/Typos.toml
.