-
Notifications
You must be signed in to change notification settings - Fork 2.7k
fix(lint): dont embed lint docs in cargo binary #16360
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
base: master
Are you sure you want to change the base?
Conversation
|
cc @Muscraft |
Instead we read and concat all lint docs via xtask-lint-docs
This was done in imitation of clippy.
|
Except having everything in one spot, the current approach doesn't really achieve any of those. Still relying on code review. I can add those, though before that we should make sure this is what we want. |
What do you mean? |
|
Before this, we don't have a lint doc template and documented workflow either. And IMO the developer experience is worse in a sense that you might mess up markdown syntax and don't realize until running Anyway, I a fine with the thing we have today, if we don't agree on the proposed direction. It doesn't block anything. |
|
☔ The latest upstream changes (possibly 14116aa) made this pull request unmergeable. Please resolve the merge conflicts. |
What does this PR try to resolve?
Instead we read and concat all lint docs via xtask-lint-docs
How to test and review this PR?
While the size of lints.md is pretty neglectable,
I found it is unnecessary to embed those though.
It is also easier for us to edit and preview the markdown source.