Run every semantic rule over a parsed Block and return all findings. Each rule decides its own applicability (by diagram type), reads its severity from rules (skipping when off), and honors an in-diagram %% mermaid-lint-disable [rule] directive.
rules
off
%% mermaid-lint-disable [rule]
The block to inspect.
Resolved per-rule severities. Defaults to RULE_DEFAULTS.
Any SemanticWarnings found (empty when none apply).
Run every semantic rule over a parsed Block and return all findings. Each rule decides its own applicability (by diagram type), reads its severity from
rules(skipping whenoff), and honors an in-diagram%% mermaid-lint-disable [rule]directive.