Skip to content

Conversation

@alexandear
Copy link
Collaborator

Fixes #1506

Copy link
Collaborator

@chavacava chavacava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(It's a shame that we will need to repeat the section title in the subsection to avoid name clashes. It neutralizes all the interest of organizing information in nested structures.)

@ccoVeille
Copy link
Contributor

Yes, and no.

The rule can be disabled. But then it means direct link to this section are not stable.

Disabling the rule for a changelog is logic, here it's a bit different

@alexandear
Copy link
Collaborator Author

alexandear commented Sep 4, 2025

(It's a shame that we will need to repeat the section title in the subsection to avoid name clashes. It neutralizes all the interest of organizing information in nested structures.)

Repeating the section title has an advantage: we can have a direct link to a rule example on the website, e.g. https://revive.run/r#examples-bool-literal-in-expr (will be available after the next release).

image
@alexandear alexandear merged commit 4d5fd51 into mgechev:master Sep 4, 2025
10 checks passed
@alexandear alexandear deleted the docs/fix-m024 branch September 4, 2025 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants