golangci-lint icon indicating copy to clipboard operation
golangci-lint copied to clipboard

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

Open ccoVeille opened this issue 8 months ago • 1 comments

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 :rofl:

Additional context

No response

Supporter

ccoVeille avatar Jun 24 '24 09:06 ccoVeille