384 Commits

Author SHA1 Message Date
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
Aleksey Bakin
7086a94425
bump github.com/kulti/thelper from 0.5.1 to 0.6.2 (#2742) 2022-04-07 08:11:09 +03:00
Ludovic Fernandez
13c4726760
dev: support build tags about go version in linter tests (#2744) 2022-04-06 10:44:20 +02:00
lufe
b8c061e5f3
Add execinquery linter (#2677) 2022-03-29 12:31:56 +02:00
dependabot[bot]
97adeb3d78
build(deps): bump github.com/breml/errchkjson from 0.2.3 to 0.3.0 (#2695)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-03-27 14:22:02 +02:00
Ludovic Fernandez
7bbbe77e5e
feat: automatic Go version detection (#2669)
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
* feat: disable unsupported go1.18 govet analyzers
* fix: inactivate interfacer with go1.18
2022-03-23 16:54:11 +01:00
Ludovic Fernandez
56d77e2bc3
bump github.com/denis-tingaikin/go-header from 0.4.2 to 0.4.3 (#2614) 2022-02-24 15:49:05 +01:00
ngehrsitz
f7d2406dc6
bump github.com/daixiang0/gci from 0.2.9 to 0.3.0 (#2532)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-02-14 09:51:24 +01:00
sivchari
68f530a81a
add containedctx linter (#2382) 2022-01-19 14:34:53 +01:00
Hiroyuki Yagihashi
e3d0247ee2
Add maintidx linter (#2435) 2022-01-18 13:50:52 +01:00
Andrew Shannon Brown
6e2e51d859
Bump makezero to v1.1.0 (#2490) 2022-01-16 22:48:49 +01:00
Andrew Shannon Brown
efb35995f3
Bump github.com/ashanbrown/forbidigo from 1.2.0 to 1.3.0 (#2487) 2022-01-16 02:07:35 +01:00
Tim Kral
138699d60f
depguard: updates configuration (#2467)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-01-09 11:48:31 +01:00
Florian Bosdorff
63f150ead1
Add decorder linter (#2453) 2022-01-05 04:18:53 +01:00
Lauris BH
d209389625
Add support for multiple outputs (#2386) 2022-01-04 21:36:27 +01:00
Ludovic Fernandez
e41f428ded
dev: improve and clean fix_test (#2457) 2022-01-04 07:10:25 +01:00