The error message for PD003 is unclear and confusing. Before this change, it reads:
Endpoint has an unconditional RouteRule that is not the final RouteRule. It will be ignored.
It is not clear what "It" refers to, in "It will be ignored." By convention in English, "It" to begin a sentence normally refers to the subject of the prior sentence. But here, "It" refers to the final RouteRule. So that's confusing.
The message is clearer when stated more simply:
Endpoint has an unconditional RouteRule that is not the final RouteRule.
Accompanying this change, there's some cleanup of commented blocks of code, and formatting changes via prettier .
The error message for PD003 is unclear and confusing. Before this change, it reads:
It is not clear what "It" refers to, in "It will be ignored." By convention in English, "It" to begin a sentence normally refers to the subject of the prior sentence. But here, "It" refers to the final RouteRule. So that's confusing.
The message is clearer when stated more simply:
Accompanying this change, there's some cleanup of commented blocks of code, and formatting changes via
prettier
.