2 Commits

Author SHA1 Message Date
Marco Borgeaud
ffde1ebd9a
Diff blocks: fix some incorrect use for kotlin (#2803)
Improvement identified in #2790.

Add a prefix to the diff-id when it is used multiple times in different
"how to fix it in XYZ" sections to avoid ambiguity and pedantically
follow the spec:

> A single and unique diff-id should be used only once for each type of
code example as shown in the description of a rule.

Obvious typos around `diff-id` were fixed.
2023-08-15 13:34:10 +02:00
github-actions[bot]
781680132d
Create rule S6511: "when" statements should be used instead of chained "if" statements (#1622) 2023-03-28 14:38:35 +02:00