I have a style guide requirement that says no abbreviations should be used for example “cont.” should be “continued”
example text: “After a brief interruption, the lecturer cont. explaining the complex theorem to the students.”
Basic Rule:
<rule id="SPELL_OUT_CONTINUED" name="Spell Out 'Continued'">
<pattern>
<token>cont.</token>
</pattern>
<message>Always spell out 'continued' instead of using 'cont.'.</message>
</rule>
When I try to run the rule I believe it conflicts with the existing xml rule “UPPERCASE_SENTENCE_START”. Because my rule doesn’t run and I get a result:
Issue: UPPERCASE_SENTENCE_START - This sentence does not start with an uppercase letter.
Context: … brief interruption, the lecturer cont. explaining the complex theorem to the students.
- Is there any way to identify if a rule conflicts with existing rules?
- Is there a way to force custom rules to execute or take priority regardless of if it conflicts with another rule?
I quickly tried http://localhost:8081?language=es&disabled=UPPERCASE_SENTENCE_START’ but it didn’t seem to work. Maybe I did something wrong, and this doesn’t feel like the right solution