Open holly-cummins opened 2 months ago
/cc @MichalMaler (documentation), @ebullient (documentation), @inoxx03 (documentation), @michelle-purcell (documentation), @rolfedh (documentation), @sheilamjones (documentation), @sunayna15 (documentation)
FYI: Earlier this morning, I discussed with Michelle and created Managing Vale files for the Quarkus engineering team: A brief information sheet outlining our collaborative process with the Quarkus engineering team for managing Vale files. This document details our approach to customizing and updating Vale rules to meet the specific needs of Quarkus while aligning with Red Hat standards. Feedback and edits are welcome!
I tried to fix this, but couldn't figure out the best solution. That may be why we have the problem!
The
Fluff.yml
vale rule is extendingsubstitution
, but it's not actually a substitution rule - the things in theswap
list aren't suggested before-and-after, they're problematic tokens and then explanations of what a user might want to do.Because of this, the messages for this rule come out as nonsense. For example,
The raw message makes a bit more sense, but it's still pretty confusing:
One possible fix is to split the
Fluff.yml
rule into a whole bunch of individualexistence
rules. If we wanted to have some grouping, we could make afluff
super-rule and extend it.Alternatively, the message could be written so that the
after
was just a sentence on its own, but that's a bit of an abuse of theswap
data. But it would be a faster fix, and keep all of the rules grouped in one file.What do you think, @michelle-purcell and @ebullient?