Skip to content
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

Website: Add filters to URL parameters to allow linking #9815

Closed
tgross35 opened this issue Nov 8, 2022 · 1 comment
Closed

Website: Add filters to URL parameters to allow linking #9815

tgross35 opened this issue Nov 8, 2022 · 1 comment
Labels
A-website Area: Improving the clippy website C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages

Comments

@tgross35
Copy link
Contributor

tgross35 commented Nov 8, 2022

Description

Relates to #2973/#3319

It is currently possible to link to specific lints within clippy lints: (e.g. here)

However, it would be very useful to be able to link specific filters & search queries, so they could be shared. For example, I very often want to share or reference the list of restrictions that help avoid panicking but am unable to (see image below). This URL could be encoded as https://rust-lang.github.io/rust-clippy/master/index.html?sel=restriction&q=panic&lintlevel=allow,warn&versiongt=4&versionlt=6&versioneq=5

image

Version

N/A

Additional Labels

No response

@xFrednet xFrednet added A-website Area: Improving the clippy website good-first-issue These issues are a good way to get started with Clippy C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages and removed good-first-issue These issues are a good way to get started with Clippy labels Nov 8, 2022
@tgross35
Copy link
Contributor Author

Oh hey - looks like this got fixed! #10834 seems to be the change.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-website Area: Improving the clippy website C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages
Projects
None yet
Development

No branches or pull requests

2 participants