Skip to content

docs: add a way to link linter without settings on the linter page #4841

Closed
@ccoVeille

Description

@ccoVeille

Welcome

Your feature request related to a problem? Please describe

Sometimes I want to share documentation about a specific linter to someone, but for some of them I cannot

Right now, there are anchors on linters with settings, but none on the others.

Be able to link https://golangci-lint.run/usage/linters/#bodyclose

the same we link https://golangci-lint.run/usage/linters/#gosimple

right now this link point to the settings (it might change after my PR and discussion), maybe it's something that need to be changed, but it's out of the scope of what I'm reporting.

I'm sure that we will iterate if my suggestion is accepted.

Describe the solution you'd like

So it's about adding a <span id="bodyclose">bodyclose</span instead of using bodyclose text

Describe alternatives you've considered

Ask people to use CTRL+F 🤣

Additional context

No response

Supporter

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions