299 Commits

Author SHA1 Message Date
Nahshon Unna Tsameret
26dde52d69
Add the ginkgolinter linter (#3369) 2022-12-26 22:03:07 +01:00
dependabot[bot]
7fb302126a
build(deps): bump github.com/nishanths/exhaustive from 0.8.3 to 0.9.2 (#3381)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-11-27 16:54:20 +01:00
Ivan
8a1cf904f9
lll: skip imports (#3288) 2022-10-15 10:57:28 +02:00
Ludovic Fernandez
d03294f25f
fix: remove redundant character escape '\/' (#3278) 2022-10-06 00:09:31 +02:00
Ludovic Fernandez
05c3af1ad5
paralleltest: add tests of the ignore-missing option (#3233) 2022-09-23 10:06:10 +02:00
Abirdcfly
febe5fdb33
feat: add linter dupword (#3192) 2022-09-15 19:08:52 +02:00
Ludovic Fernandez
8f00a10ad7
dev: improve tests on Windows (#3211) 2022-09-12 09:01:27 +02:00
Marat Reymers
281e1847f1
feat: add testableexamples linter (#3170) 2022-09-06 23:24:12 +02:00
Timon Wong
3a2ad9083a
feat: rename logrlint to loggercheck (#3144) 2022-09-06 23:23:32 +02:00
Ludovic Fernandez
19a338706a
dev: reference all the debug keys and env vars (#3196) 2022-09-06 11:48:25 +00:00
Ludovic Fernandez
39f401ba3c
dev: review and clean linter tests (#3139) 2022-09-01 18:26:28 +02:00
Ludovic Fernandez
aba80c7fe2
feat: update gofmt and goimports and add option "rewrite-rules" (#3174) 2022-09-01 12:25:26 +00:00
Ludovic Fernandez
bddc63a234
dev: fix CI workflow for Windows (#3134) 2022-08-24 22:10:51 +02:00
Choko
58809c3bf5
feat: add reassign linter (#3064) 2022-08-23 13:19:26 +02:00
Ludovic Fernandez
77962e9283
dev: fix linter tests (#3128) 2022-08-23 10:33:57 +02:00
Timon Wong
f48530e25e
feat: add logrlint (#3093)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-08-22 22:49:39 +02:00
Fernandez Ludovic
320a18eb37 dev: concat string 2022-08-21 23:03:16 +02:00
Fernandez Ludovic
3aea4ce9ce fix: flaky tests 2022-08-21 22:52:03 +02:00
Ludovic Fernandez
37d3aa437a
feat: deprecate varcheck, deadcode, and structcheck (#3125) 2022-08-21 21:37:47 +02:00
Ludovic Fernandez
e1afce4433
dev: improve runner to run dir with go.mod (#3124) 2022-08-21 16:51:36 +02:00
Sasha Melentyev
63b2fe0048
feat: add interfacebloat (#3024)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-08-21 14:05:41 +02:00
Ludovic Fernandez
4160e8c396
dev: fix output tests (#3118) 2022-08-21 13:30:34 +02:00
Ludovic Fernandez
2b4c9ab4fc
dev: follow standards by using 'want' instead of 'ERROR' for tests (#3104) 2022-08-20 18:53:45 +02:00
Ludovic Fernandez
5e140494b6
dev: rewrite the tests framework (#3100) 2022-08-15 21:56:32 +02:00
Ludovic Fernandez
f7fba37cc9
dev: replace golangcitest:config by golangcitest:config_path (#3099) 2022-08-15 18:23:07 +02:00
dependabot[bot]
9da04f5070
build(deps): bump github.com/go-critic/go-critic from 0.6.3 to 0.6.4 (#3089)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-08-14 18:21:32 +02:00
Ludovic Fernandez
7fdb723b16
docs: remove allow-leading-space option (#3072) 2022-08-12 16:22:28 +02:00
sivchari
d4fd2db3d5
nosnakecase: deprecate linter (#3065)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-08-05 12:42:47 +02:00
Ludovic Fernandez
1557692e59
feat: go1.19 support (#3037) 2022-08-03 20:53:06 +02:00
Sasha Melentyev
0ba1388a41
feat: add usestdlibvars (#3016) 2022-08-03 11:13:50 +02:00
Eugene Simonov
9a1b9492d6
ifshort: deprecate linter (#3034)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-08-01 14:22:11 +02:00
Ludovic Fernandez
f8f8f9a6e7
nolint: drop allow-leading-space option and add "nolint:all" (#3002) 2022-08-01 14:21:04 +02:00
dependabot[bot]
57d61afb82
build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.0 to 2.2.2 (#3030)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-07-31 16:25:30 +02:00
Sven Anderson
846fab81b9
cgo: fix linters ignoring Cgo files (#3025) 2022-07-30 22:26:33 +02:00
Sasha Melentyev
a9dc1ce178
dev: change format like function without args (#3012)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-07-24 18:24:01 +02:00
Oscar
4e60e8a894
gci: fix options display (#2989) 2022-07-19 01:56:22 +02:00
alingse
b415402720
Add linter asasalint to lint pass []any as any (#2968)
Some checks failed
Release a tag / release (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile.alpine]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
2022-07-18 09:17:27 +02:00
Ludovic Fernandez
27f921fa14
dev: use directives instead of comments for tests (#2978) 2022-07-15 15:32:10 +02:00
Loong Dai
5e183652ba
build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (#2973)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-07-11 09:59:13 +02:00
sivchari
1d8a15a0cc
add nosnakecase lint (#2828)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-30 16:36:33 +02:00
dependabot[bot]
023e1c4fdf
build(deps): bump github.com/firefart/nonamedreturns from 1.0.2 to 1.0.4 (#2944)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-28 14:13:15 +02:00
dependabot[bot]
98c811d0e5
build(deps): bump github.com/firefart/nonamedreturns from 1.0.1 to 1.0.2 (#2929)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-19 14:20:47 +02:00
Cory Miller
ae2a968805
depguard: adjust phrasing (#2921) 2022-06-15 02:40:19 +02:00
Loong Dai
2f41c1f06b
gci: fix issues and re-enable autofix (#2892)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-05-30 19:51:38 +02:00
Ludovic Fernandez
f9d815115c
bump golang.org/x/tools to HEAD (#2875)
* bump golang.org/x/tools to HEAD
* fix: adapt linters to the new validation system.
2022-05-23 12:39:57 +02:00
Ludovic Fernandez
b504325dc5
thelper: allow to disable one option (#2854) 2022-05-16 21:16:25 +02:00
Ludovic Fernandez
044f0a1702
bump github.com/lufeee/execinquery from v1.0.0 to v1.2.0 (#2845)
Some checks failed
Release a tag / release (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile.alpine]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
2022-05-12 10:09:33 +02:00
Anton Zinovyev
380699a099
feat: add exhaustruct linter (#2667)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-04-30 12:48:16 +02:00
Stephen Benjamin
89e6cd66ca
Add nosprintfhostport linter (#2749) 2022-04-24 01:57:45 +02:00
Christian Mehlmauer
333187c066
Add nonamedreturns linter (#2701) 2022-04-17 15:41:08 +02:00