896 Commits

Author SHA1 Message Date
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
Ludovic Fernandez
979a4aabe3
dev: isolate printer code (#4435) 2024-03-03 16:00:23 +00:00
Ludovic Fernandez
b1eed50751
feat: automatically adjust the maximum concurrency to the container CPU quota (#4441) 2024-03-03 16:58:55 +01:00
Anton Telyshev
61f2f70d07
build(deps): bump github.com/Antonboom/testifylint from 1.1.3 to 1.2.0 (#4449) 2024-03-03 16:54:23 +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
3452e2e517
dev: add test on ExcludeRule and SeverityRule (#4420) 2024-02-27 14:57:08 +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