865 Commits

Author SHA1 Message Date
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
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
dependabot[bot]
6e09a2051a
build(deps): bump github.com/butuzov/ireturn from 0.2.2 to 0.3.0 (#4352)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-07 12:09:39 +01:00
Mateus Oliveira
a727aa5780
dev: remove unrelated flags from config and linters command (#4284)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-03 20:11:24 +01:00
dependabot[bot]
4ea9468cd6
build(deps): bump github.com/catenacyber/perfsprint from 0.5.0 to 0.6.0 (#4346)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-02 23:05:44 +01:00
Mostafa Moradian
b3ffe708b4
feat: implement stats per linter with a flag (#4341)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-02 19:32:46 +00:00
Ludovic Fernandez
e4c6e1fb6d
dev: replace mitchellh/mapstructure by go-viper/mapstructure/v2 (#4339) 2024-01-30 22:17:00 +01:00
dependabot[bot]
3ff416302f
build(deps): bump github.com/ghostiam/protogetter from 0.3.3 to 0.3.4 (#4327)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-01-20 16:43:01 +01:00
Ludovic Fernandez
ad4a6b2c03
fix: parse Go RC version (#4319) 2024-01-14 20:22:57 +00:00
dependabot[bot]
8301163c3c
build(deps): bump github.com/mgechev/revive from 1.3.4 to 1.3.5 (#4305)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-01-07 19:30:08 +01: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
Olli Raula
0fdf33aaaa
docs: fix noctx description (#4297)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-01-02 16:12:47 +01:00
dependabot[bot]
87d55d9c08
build(deps): bump github.com/go-critic/go-critic from 0.10.0 to 0.11.0 (#4295)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-01-02 16:12:26 +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