-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add a "did you mean <>?" fix to UnknownRule #188
Comments
Hello, could you please assign this issue to me? |
@bhartiRaz |
hii @a-frantz , I would love to work on this, I researched a bit and ig |
@mrswastik-robot First, I would recommend you read through our CONTRIBUTING guide if you haven't already. When you're ready to get coding, please write a function in https://github.com/stjude-rust-labs/wdl/blob/main/wdl-lint/src/util.rs which takes an "unknown rule ID" and returns the nearest match from our set of rule IDs. Then modify https://github.com/stjude-rust-labs/wdl/blob/main/wdl-lint/src/rules/unknown_rule.rs to call that function and provide the nearest match in the |
hii @a-frantz, I have linked a PR, you can review it whenever you get time, I would be more than happy to make requested code changes. |
Upgrading discussion #106 to an issue, as I consider it good-to-go.
This will almost definitely include adding a new dependency to the workspace. There are some spellcheck-type crates out there and we should pull a solution off the shelf. If you're not sure which crate to pick, drop a comment and one of us will help you find the right choice!
The text was updated successfully, but these errors were encountered: