-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add --type
flag to dev new_lint
#9182
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
Conversation
r? @xFrednet (rust-highfive has picked a reviewer for you, use r? to override) |
e772081
to
dde41b5
Compare
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.
Hey, this PR has not been forgotten, my two weeks have just been pretty full, with rl stuff. I'm away over the weekend, but should be able to give you a review next week. I've added one comment about something that stuck out to me :)
☔ The latest upstream changes (presumably #9130) made this pull request unmergeable. Please resolve the merge conflicts. |
dde41b5
to
51cd5a8
Compare
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.
The implementation looks good overall, I found some small nits, where some might be too nitpicky. 😅
Could you maybe also be so kind to update the related docs in book/src/development/adding_lints.md
? Mentioning the type option is probably enough 🙃
I suggest rephrasing one paragraph in the documentation. Otherwise, everything looks good to me. If you agree with the change, you can commit it and merge it with Thank you for this addition, it was something I wanted to see for a longer time! @bors delegate+ |
✌️ @Serial-ATA can now approve this pull request |
179b81f
to
8319196
Compare
@bors r=xFrednet |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
changelog: none
This only works with directories,
--type={copies, doc, ...}
won't work. Should they be counted?