golangci / golangci-lint

Fast linters runner for Go
https://golangci-lint.run
GNU General Public License v3.0
14.84k stars 1.34k forks source link

docs: support sorting / filtering linters table #4683

Open derekperkins opened 2 months ago

derekperkins commented 2 months ago

Your feature request related to a problem? Please describe

I regularly visit the documentation site to see if there have been any new linters added that I want to introduce to our codebase. The problem I run into is that the list is sorted alphabetically, so it's difficult to see just changes since the last version of golangci-lint. https://golangci-lint.run/usage/linters/#disabled-by-default

Describe the solution you'd like

Add filtering / sorting to the table

Describe alternatives you've considered

I have copy / pasted the table into Excel

Additional context

No response

ccoVeille commented 2 months ago

I also faced problems you describe.

I used to look for Ctrl+F on the linters page with version to see what was added.

Lately, I found the changelog page, and read it. It's its purpose after all.

https://golangci-lint.run/product/changelog/#changelog

I'm unsure there is a need to sort the linters on the page, but why not.

But there is a need to understand what was added from the linters page. I would say adding a visible message + link to the changelog page would be a good thing.

ldez commented 2 months ago

Hello,

this is in our plan (filtering).