905 Commits

Author SHA1 Message Date
Ludovic Fernandez
eaafdf3623
feat: add verify command (#4527) 2024-03-19 21:35:21 +01:00
Oleksandr Redko
6709c974a4
dev: refactor .golangci.yml configuration and fix up nolintlint issues (#4537) 2024-03-19 16:38:59 +01:00
Ludovic Fernandez
3dbe882839
govet: add a warning about the deprecation of check-shadowing (#4535) 2024-03-19 14:27:02 +01:00
Ludovic Fernandez
cba35e1d53
feat: improve 'no go files to analyze' message (#4536) 2024-03-19 14:25:28 +01:00
Ludovic Fernandez
69144471ca
govet: fix check-shadowing (#4534) 2024-03-19 06:43:24 +01:00
Fernandez Ludovic
2bcc0104ea Revert "fix: deprecation message related to UseDefaultSkipDirs (#4533)"
This reverts commit bd477011f3eea57befa5237cfe586c63ffc052c6.
2024-03-18 23:20:06 +01:00
Ludovic Fernandez
bd477011f3
fix: deprecation message related to UseDefaultSkipDirs (#4533) 2024-03-18 22:21:43 +01:00
dependabot[bot]
f2d411006a
build(deps): bump github.com/nunnatsa/ginkgolinter from 0.16.0 to 0.16.1 (#4531)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-03-18 18:04:49 +01:00
dependabot[bot]
f83707049f
build(deps): bump github.com/nunnatsa/ginkgolinter from 0.15.2 to 0.16.0 (#4530)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-03-18 17:29:43 +01:00
Ludovic Fernandez
e3ed3ba1d6
feat: new output.formats file configuration syntax (#4521) 2024-03-18 13:27:04 +01:00
Ludovic Fernandez
b91c194126
dev: run all commands on the CI (#4526) 2024-03-18 13:26:46 +01:00
Ludovic Fernandez
a5e2fd817e
dev: remove Run.Args (#4525) 2024-03-18 00:36:05 +01:00
Ludovic Fernandez
d37a3e0951
feat: create output directory (#4524) 2024-03-17 23:07:50 +01:00
Ludovic Fernandez
7ad5ccb65b
dev: split ContextLoader (#4516) 2024-03-17 22:52:28 +01:00
dependabot[bot]
2c0a8ee50e
build(deps): bump go-simpler.org/sloglint from 0.4.0 to 0.5.0 (#4523)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-03-17 15:51:05 +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
e03399080c
docs: shorten description for gochecknoglobals linter (#4505) 2024-03-14 14:58:33 +01:00
Oleksandr Redko
ea823733ea
dev: reformat code with gofumpt (#4500) 2024-03-14 00:09:27 +01:00
Ludovic Fernandez
51a963fa5b
chore: simplify comparators (#4499) 2024-03-13 21:10:08 +01:00
Ludovic Fernandez
78d2118c0b
dev: clean up (#4495) 2024-03-13 15:49:29 +01:00
Oleksandr Redko
17329443f1
dev: display help message with green color (#4497) 2024-03-13 15:05:35 +01:00
Oleksandr Redko
2a1afc14cb
dev: use cmd.Context inside custom command (#4496) 2024-03-13 13:30:37 +01:00
Ludovic Fernandez
0554536620
dev: minor clean up (#4492) 2024-03-12 23:38:14 +01:00
Oleksandr Redko
331d29bee3
dev: fix a typo in the log about preserving temp (#4491) 2024-03-12 19:11:36 +01:00
Oleksandr Redko
59202b196d
docs: improve grammar in the custom linter article (#4489) 2024-03-12 14:35:46 +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
05f27abc01
dev: clean up command contructors (#4478) 2024-03-11 16:20:07 +01:00
Ludovic Fernandez
6fda81008d
dev: clean context loader (#4480) 2024-03-11 16:19:53 +01:00
Ludovic Fernandez
c902b8e9d4
fix: panic when concurrency=0 (#4477) 2024-03-10 15:43:09 +01:00
Ludovic Fernandez
797d3bb0c4
fix: rule severity is required (#4469) 2024-03-09 15:29:15 +01:00
Ludovic Fernandez
7e2840b92e
fix: store and read severity from linters in the cache (#4468) 2024-03-09 15:28:42 +01:00
Ludovic Fernandez
1cabafc3b6
feat: use gosec severities (#4470) 2024-03-09 14:05:16 +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
0683d45142
feat: add sort-order option (#4467) 2024-03-08 22:06:20 +01:00
Denis Limarev
1b0dbb0965
fix: use first issue without inline on mergeLineIssues on multiplie issues (#3316)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-03-07 20:18:09 +01:00
Oleksandr Redko
4fea092fa2
dev: add GL_DEBUG=govet to see enabled analyzers (#4465) 2024-03-07 15:23:42 +01:00
Ludovic Fernandez
803970f0ed
feat: allow running only a specific linter without modifying the file configuration (#4438) 2024-03-06 20:43:12 +01:00
Oleksandr Redko
808c06d0cc
dev: rename function parameter i to issue (#4460) 2024-03-05 18:02:58 +01:00
Oleksandr Redko
f18e6c3700
docs: fix typo in 'e.g.' (#4461) 2024-03-05 16:46:44 +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
8f2459bf0e
fix: move show-stats field from run to output (#4439) 2024-03-04 14:15:41 +01:00
Ludovic Fernandez
a0878087fa
feat: inactivate deprecated linters (#4436) 2024-03-03 20:40:52 +01:00