fix(linter): fix rule_id for some diagnostics formats
#10251
Merged
rule_id for some diagnostics formats
#10251