Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 of 3 tasks
ccoVeille opened this issue Jun 24, 2024 · 2 comments · Fixed by #4843
Closed
2 of 3 tasks

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

ccoVeille opened this issue Jun 24, 2024 · 2 comments · Fixed by #4843
Assignees
Labels
area: docs enhancement New feature or improvement

Comments

@ccoVeille
Copy link
Contributor

ccoVeille commented Jun 24, 2024

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

@ccoVeille ccoVeille added the enhancement New feature or improvement label Jun 24, 2024
@Antonboom
Copy link
Contributor

Antonboom commented Jun 24, 2024

faced with this issue a lot of times

@ldez ldez self-assigned this Jun 24, 2024
@ldez ldez changed the title Documentation: add a way to link linter without settings on the linter page docs: add a way to link linter without settings on the linter page Jun 24, 2024
@ldez ldez closed this as completed in #4843 Jul 3, 2024
@ccoVeille
Copy link
Contributor Author

Thanks 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs enhancement New feature or improvement
Projects
None yet
3 participants