21 Commits

Author SHA1 Message Date
Eugene R.
3797ed90c3
nolintlint: remove empty line in unused directive replacement ()
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-09-04 14:13:37 +02:00
Ludovic Fernandez
87dd8fe755
exportloopref: deprecation () 2024-08-17 13:41:10 +02:00
ccoVeille
dea416b534
docs: fix typos () 2024-05-28 01:47:17 +02:00
Ludovic Fernandez
4532eb98ef
fix: gochecknoinits shadow name () 2024-05-05 21:43:24 +02:00
Ludovic Fernandez
2c666ed4eb
dev: group linter implementation and integration tests () 2024-04-09 21:34:55 +00:00
Oleksandr Redko
6709c974a4
dev: refactor .golangci.yml configuration and fix up nolintlint issues () 2024-03-19 16:38:59 +01:00
Oleksandr Redko
ea823733ea
dev: reformat code with gofumpt () 2024-03-14 00:09:27 +01:00
Oleksandr Redko
808c06d0cc
dev: rename function parameter i to issue () 2024-03-05 18:02:58 +01:00
Ludovic Fernandez
bf5008a11a
dev: handle old TODO () 2024-02-10 14:43:58 +01:00
dependabot[bot]
87d55d9c08
build(deps): bump github.com/go-critic/go-critic from 0.10.0 to 0.11.0 ()
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-01-02 16:12:26 +01:00
dependabot[bot]
790c1632ce
build(deps): bump github.com/go-critic/go-critic from 0.9.0 to 0.10.0 ()
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-12-10 16:05:24 +01:00
Ludovic Fernandez
00d17cc8d1
output: add colored-tab () 2023-04-04 01:57:22 +02:00
trajan0x
970a7e40d4
docs: fix typo in nolint () 2022-11-01 23:28:50 +00:00
Ludovic Fernandez
f8f8f9a6e7
nolint: drop allow-leading-space option and add "nolint:all" () 2022-08-01 14:21:04 +02:00
Oleksandr Redko
99c6516c6b
docs: fix grammar issues in comments () 2021-11-11 05:56:36 +01:00
Ludovic Fernandez
6172338bd4
nolintlint: fix false positive. () 2021-05-31 09:04:37 +02:00
Andrew Shannon Brown
e1a734e559
nolintlint: allow to fix //nolint lines () 2021-03-13 05:11:05 +01:00
Andrew Shannon Brown
306816ec85
Revert "Update nolintlint to fix nolint formatting and remove unused nolint statements ()" ()
This reverts commit aeb98303293570ba682ea933a4e9501a11a3aa99.

There are some cases that nolinter fixer wasn't handling properly or expectedly (, , ) 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 ()
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. () 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