Oleksandr Redko
6709c974a4
dev: refactor .golangci.yml configuration and fix up nolintlint issues ( #4537 )
2024-03-19 16:38:59 +01:00
Ludovic Fernandez
00d17cc8d1
output: add colored-tab ( #3729 )
2023-04-04 01:57:22 +02:00
Ludovic Fernandez
f8f8f9a6e7
nolint: drop allow-leading-space option and add "nolint:all" ( #3002 )
2022-08-01 14:21:04 +02:00
Andrew Shannon Brown
e1a734e559
nolintlint: allow to fix //nolint lines ( #1583 )
2021-03-13 05:11:05 +01:00
Andrew Shannon Brown
306816ec85
Revert "Update nolintlint to fix nolint formatting and remove unused nolint statements ( #1573 )" ( #1584 )
...
This reverts commit aeb98303293570ba682ea933a4e9501a11a3aa99.
There are some cases that nolinter fixer wasn't handling properly or expectedly (#1579 , #1580 , #1581 ) so we'll fix those in a new attempt.
2020-12-27 11:49:58 -08:00
Andrew Shannon Brown
aeb9830329
Update nolintlint to fix nolint formatting and remove unused nolint statements ( #1573 )
...
Also allow multiple ranges to satisfy a nolint statement as having been used.
2020-12-27 06:18:02 -08:00
Ludovic Fernandez
be0297933a
fix: nolintlint comment analysis. ( #1571 )
2020-12-22 01:24:28 +01:00
Andrew Shannon Brown
909f628d75
Add linter for nolint
...
Linter can check that nolint statements are properly formatted and also that all
nolint statements are used.
2020-04-26 20:20:17 -07:00