Open Beanie496 opened 6 months ago
Not changing the priority but changing our sorting within a priority was a future possibility from the RFC.
The first step would be #12918.
Ah, I didn't know about the RFC - thanks. My suggestion is probably redundant then.
Re-opening so we have this as a place to discuss this if/when we get to that point.
Problem
Currently, giving a level to a lint group (like
pedantic
in clippy) will override a level given to a specific lint if it's higher than the lint alphabetically. For example,pedantic = "deny"
will overrideptr_as_ptr = "allow"
but notoption_option = "allow"
.Proposed Solution
Give the lint groups a default priority of
-1
.Notes
No response