512 Commits

Author SHA1 Message Date
trajan0x
970a7e40d4
docs: fix typo in nolint (#3345) 2022-11-01 23:28:50 +00:00
dependabot[bot]
ce9b9d62ed
build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.20.0 to 1.21.1 (#3318)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-10-23 14:38:13 +02: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
Choko
937e3d407b
build(deps): bump github.com/curioswitch/go-reassign v0.1.2 to v0.2.0 (#3234) 2022-09-25 10:58:16 +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
f072d55e6d
dev: add doc about internal package extracted from Go (#3204) 2022-09-12 09:19:06 +02:00
Anton Zinovyev
b1cec4755f
wsl: support all configs and update docs (#3202) 2022-09-12 09:07:44 +02:00
Ludovic Fernandez
8f00a10ad7
dev: improve tests on Windows (#3211) 2022-09-12 09:01:27 +02:00
Marat Reymers
8a3b754ca2
exhaustive: add missing config (#3212) 2022-09-11 17:07:37 +00:00
dependabot[bot]
1f155b7ef6
build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.17.1 to 1.19.0 (#3206)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-09-11 11:51:31 +00:00
dependabot[bot]
33a78c9266
build(deps): bump github.com/nishanths/exhaustive from 0.8.1 to 0.8.3 (#3207)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-09-11 11:50:31 +00:00
kkHAIKE
213fb565e6
contextcheck: change owner (#3198) 2022-09-07 18:15:31 +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
Anton Kachurin
091d2f4324
interfacebloat: fix configuration loading (#3194)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-09-05 10:27:46 +00:00
dependabot[bot]
70d595e91d
build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.14.0 to 1.17.1 (#3188)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-09-03 19:28:28 +00:00
Ludovic Fernandez
aba80c7fe2
feat: update gofmt and goimports and add option "rewrite-rules" (#3174) 2022-09-01 12:25:26 +00:00
dependabot[bot]
28d7095413
build(deps): bump github.com/go-critic/go-critic from 0.6.4 to 0.6.5 (#3150)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-08-29 02:11:48 +02:00
sylvia
cc2d97f31d
contextcheck: bump to v1.0.6 && re-enable (#3102)
Some checks failed
Release a tag / release (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/alpine.Dockerfile]) (push) Has been cancelled
2022-08-23 14:03:20 +02:00
Choko
58809c3bf5
feat: add reassign linter (#3064) 2022-08-23 13:19:26 +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
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
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
dependabot[bot]
be10ef2636
build(deps): bump github.com/mgechev/revive from 1.2.1 to 1.2.2 (#3075)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-08-07 13:57:17 +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
Dreamacro
15cba447fd
gci: add missing custom-order setting (#3052) 2022-08-03 10:50:42 +02:00
Ludovic Fernandez
f8f8f9a6e7
nolint: drop allow-leading-space option and add "nolint:all" (#3002) 2022-08-01 14:21:04 +02:00
Sven Anderson
846fab81b9
cgo: fix linters ignoring Cgo files (#3025) 2022-07-30 22:26:33 +02:00
Ludovic Fernandez
886fbd71a8
gci: fix panic with invalid configuration option (#3019) 2022-07-27 09:14: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
Ludovic Fernandez
d44cd49a20
feat: remove some go1.18 limitations (#3001)
* fix: restore some linters

- govet(nilness,unusedwrite)
- bodyclose
- contextcheck
- nilerr
- noctx
- tparallel

* fix: remove structcheck from the default linters.
2022-07-21 16:52:06 +02:00
Ludovic Fernandez
61673b3436
revive: ignore slow rules (#2999)
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-21 01:39:54 +02:00
Oscar
4e60e8a894
gci: fix options display (#2989) 2022-07-19 01:56:22 +02:00
Ludovic Fernandez
fd87bd1efb
gci: remove the use of stdin (#2984)
Co-authored-by: Tom Moulard <tom.moulard@traefik.io>
2022-07-18 20:04:33 +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
Ethan Reesor
0abb298136
staticcheck: fix generics (#2976)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-07-14 04:10:10 +02:00
Loong Dai
b8f1e2a549
build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (#2965)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-07-09 23:15:47 +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]
3a0f646e31
build(deps): bump github.com/maratori/testpackage from 1.0.1 to 1.1.0 (#2945)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-28 14:44:44 +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
Ludovic Fernandez
4b218e664c
config: spread go version on linter's configurations (#2913) 2022-06-13 09:01:05 +02:00
dependabot[bot]
97eea6ea49
build(deps): bump github.com/kunwardeep/paralleltest from 1.0.4 to 1.0.6 (#2918)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-12 13:43:23 +02:00
Marat Reymers
c531fc2ad5
gosec: allow global config (#2880) 2022-06-06 13:21:04 +02:00