881 Commits

Author SHA1 Message Date
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
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
e6720b809f
misspell: add extra-words (#4401) 2024-02-20 12:59:49 +01:00
Ludovic Fernandez
64492b5e59
feat: disable copyloopvar and intrange on Go < 1.22 (#4397) 2024-02-19 13:58:58 +00:00
Anton Telyshev
c65868c105
gocritic: support of enable-all and disable-all options (#4335)
Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com>
2024-02-19 14:50:25 +01: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
silverwind
cc782046de
docs: improve govet description (#4366)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-15 21:51:40 +01:00
dependabot[bot]
e5d2bc9529
build(deps): bump github.com/catenacyber/perfsprint from 0.6.0 to 0.7.0 (#4386)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-15 20:01:52 +01:00
Ludovic Fernandez
d7a461a045
revive: add exclude option (#4365) 2024-02-15 19:52:39 +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
Oleksandr Redko
7cf6cc9d9f
dev: refactor govet impl with slices.Contains (#4372)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-09 20:34:50 +01:00
Ludovic Fernandez
b525f2b88d
govet: disable loopclosure with go1.22 (#4357) 2024-02-08 13:42:10 +01:00