semanticRules top-level constant
Semantic rules (M8). Order shapes report grouping when two rules hit the same entry — structural-first, then semantic, so the user sees "your placeholder is broken" before "your translation looks untranslated."
Implementation
const List<Rule> semanticRules = <Rule>[
SourceEqualityRule(),
LengthRatioRule(),
WidthBudgetRule(),
UntranslatedEnglishRule(),
// The two copy-policy rules, in the order a reviewer asks them: the source
// sentence has to be well-formed before its wording is worth arguing about.
PluralShapeRule(),
GlossaryRule(),
BannedPatternRule(),
StaleTranslationRule(),
];