Skip to content

What is the reason to replace existing rule with new rule when longer? #13

Answered by mattpocock
eddyw asked this question in Q&A
Discussion options

You must be logged in to vote

The reason is that some errors are actually a subset of other errors - i.e:

"{0} is bad"
"{0} is bad because of something"

In that case, we want to choose the longer version of the same rule.

HOWEVER - this code might not be needed any more, we should add tests in this area to check it out.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@eddyw
Comment options

eddyw Apr 28, 2022
Collaborator Author

Answer selected by eddyw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants