golangci-lint
golangci-lint copied to clipboard
docs: add a way to link linter without settings on the linter page
Welcome
- [X] Yes, I've searched similar issues on GitHub and didn't find any.
- [X] I agree to follow this project's Code of Conduct
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
- [ ] I am a sponsor through GitHub or OpenCollective