347 Commits

Author SHA1 Message Date
Ludovic Fernandez
87a35e63a9
dev: organize golinters package (#4578) 2024-03-26 20:55:39 +01:00
Ludovic Fernandez
085ac85a4e
dev: minor clean up (#4577) 2024-03-26 15:50:23 +01:00
Ludovic Fernandez
cd890db217
fix: filter invalid issues before other processors (#4552)
Some checks failed
Release a tag / release (push) Has been cancelled
2024-03-20 17:25:22 +01:00
Ludovic Fernandez
cba35e1d53
feat: improve 'no go files to analyze' message (#4536) 2024-03-19 14:25:28 +01:00
Ludovic Fernandez
a5e2fd817e
dev: remove Run.Args (#4525) 2024-03-18 00:36:05 +01:00
Ludovic Fernandez
7ad5ccb65b
dev: split ContextLoader (#4516) 2024-03-17 22:52:28 +01:00
Ludovic Fernandez
4b7a55a79d
feat: replace run.skip-xxx options by issues.exclude-xxx options (#4509) 2024-03-16 17:07:42 +01:00
Ludovic Fernandez
013a296577
dev: review config path usage inside gocritic (#4517) 2024-03-15 20:21:45 +01:00
Ludovic Fernandez
39617e4db3
feat: rename exclude-autogenerated-strict to exclude-generated-strict (#4514) 2024-03-15 17:42:34 +01:00
Ludovic Fernandez
b05e397ac9
feat: option to strictly follow Go autogenerated file convention (#4507) 2024-03-15 01:17:23 +01:00
Oleksandr Redko
ea823733ea
dev: reformat code with gofumpt (#4500) 2024-03-14 00:09:27 +01:00
Ludovic Fernandez
ec52d3c881
feat: syntax to not override severity from linters (#4472) 2024-03-11 18:31:00 +01:00
Ludovic Fernandez
167204c1fd
feat: new custom linters system (#4437) 2024-03-11 17:40:26 +01:00
Ludovic Fernandez
f0fdea006f
dev: the printer just needs Output configuration (#4479) 2024-03-11 16:37:19 +01:00
Ludovic Fernandez
6fda81008d
dev: clean context loader (#4480) 2024-03-11 16:19:53 +01:00
Ludovic Fernandez
d06296eba4
build(deps): bump github.com/golangci/unconvert to HEAD (#4473) 2024-03-09 13:58:37 +01:00
Ludovic Fernandez
483842908e
dev: simplify exclude processors (#4456) 2024-03-05 14:39:49 +01:00
Gareth Jones
54b0f3c821
docs: don't mark dupword as autofixable (#4455) 2024-03-04 20:25:47 +01:00
Ludovic Fernandez
3d9135248b
feat: option to not override severity from linters (#4452) 2024-03-04 20:11:09 +01:00
Ludovic Fernandez
f81c3f26c1
dev: simplify severity processor (#4451) 2024-03-04 17:33:36 +01:00
Ludovic Fernandez
a0878087fa
feat: inactivate deprecated linters (#4436) 2024-03-03 20:40:52 +01:00
Oleksandr Redko
9b560aa88c
dev: adjust replacement msg for nosnakecase (#4443) 2024-03-03 16:04:39 +01:00
Ryosei Karaki
df70758a05
build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.4 to 1.0.8 (#4444) 2024-03-03 14:51:16 +01:00
Ludovic Fernandez
b14d05cdb4
dev: rewrite linters Manager (#4419) 2024-03-02 21:43:28 +01:00
Ludovic Fernandez
784264d72e
dev: new commands system (#4412) 2024-02-27 00:03:48 +01:00
Ludovic Fernandez
b172ad45e1
dev: add tests on linterdb package (#4416) 2024-02-26 21:58:03 +01:00
Ethan Reesor
17e736fa2f
build(deps): bump github.com/denis-tingaikin/go-headerfrom 0.4.3 to 0.5.0 (#4396)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-25 17:55:19 +01:00
Ludovic Fernandez
8c51979ec8
dev: clean up Executor (#4404) 2024-02-23 20:38:42 +01:00
Ludovic Fernandez
64492b5e59
feat: disable copyloopvar and intrange on Go < 1.22 (#4397) 2024-02-19 13:58:58 +00:00
dependabot[bot]
f4e33e0bf1
build(deps): bump github.com/kunwardeep/paralleltest from 1.0.9 to 1.0.10 (#4394)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-16 01:05:35 +01:00
Ryosei Karaki
2417da15e7
feat: add copyloopvar linter (#4382) 2024-02-16 00:03:35 +01:00
Clifton Kaznocha
b96ff83e0e
feat: add intrange linter (#4378) 2024-02-16 00:03:11 +01:00
Ludovic Fernandez
bf5008a11a
dev: handle old TODO (#4374) 2024-02-10 14:43:58 +01:00
Oleksandr Redko
cc3e67b3bd
dev: fix govet.nilness lint issues (#4373)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-10 02:23:29 +01:00
dependabot[bot]
ca7b7a42d2
build(deps): bump github.com/mgechev/revive from 1.3.6 to 1.3.7 (#4355)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-07 21:30:45 +01:00
Ludovic Fernandez
192ee8929c
go1.22 support (#4272) 2024-02-07 15:23:01 +01:00
Ludovic Fernandez
ad4a6b2c03
fix: parse Go RC version (#4319) 2024-01-14 20:22:57 +00:00
Oleksandr Redko
521a6763ce
dev: replace raw loops with funcs from slices and maps (#4299)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-01-04 22:43:50 +01:00
Joshua Timmons
d23c35470b
feat: add spancheck linter (#4290)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-01-03 04:24:30 +01:00
Oleksandr Redko
85fb5a2493
dev: enable errorlint linter (#4292) 2024-01-02 15:33:00 +01:00
Oleksandr Redko
d22232ad21
dev: replace hashicorp/go-multierror with errors.Join (#4291)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-12-29 15:45:29 +01:00
Matheus Macabu
32e5b2bf11
build(deps): github.com/macabu/inamedparam from 0.1.2 to 0.1.3 (#4261) 2023-12-17 16:51:50 +01:00
Ludovic Fernandez
89bfdc0503
build(deps): bump go-simpler.org/musttag from v0.7.2 to v0.8.0 (#4201) 2023-11-13 17:01:50 +01:00
Vladislav Fursov
97cb9054a2
build(deps): bump github.com/ghostiam/protogetter from 0.2.3 to 0.3.1 (#4167) 2023-11-05 13:10:43 +01:00
dependabot[bot]
2b7c777bb2
build(deps): bump github.com/catenacyber/perfsprint from 0.2.0 to 0.3.0 (#4157)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-11-05 13:09:24 +01:00
Catena cyber
de1c391922
Add perfsprint linter (#3714)
Some checks failed
Release a tag / release (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/alpine.Dockerfile]) (push) Has been cancelled
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
Co-authored-by: Anton Telyshev <anton.telishev@yandex.ru>
2023-10-20 12:00:04 +02:00
Thomas
39c5fd10ae
feat: add sloglint linter (#4133) 2023-10-19 12:42:40 +02:00
Matheus Macabu
4b188dbfd1
Add "inamedparam": checks for interface method with unnamed params (#3793)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-10-13 00:12:16 +02:00
Fata Nugraha
bce3dfd460
unused: support passing in options (#4086)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-10-09 17:45:29 +02:00
Alec Thomas
69d6cc93cb
feat: add gochecksumtype linter (#3671)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-10-09 17:37:47 +02:00