259 Commits

Author SHA1 Message Date
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
dependabot[bot]
9e129498fd
build(deps): bump github.com/ldez/tagliatelle from 0.2.0 to 0.3.0 (#2454) 2022-01-03 23:33:04 +01:00
Denis Limarev
3d17f2fac1
gocritic: support autofix (#2450) 2022-01-03 22:57:05 +01:00
Lucas Bremgartner
55358972d6
Add errchkjson linter (#2362) 2021-11-26 23:25:59 +01:00
Ludovic Fernandez
aa3550ab83
fix: reduce flaky in the CI and clean the .golangci.yml of the project (#2359)
* fix: clean linter configuration
* fix: minor changes
* fix: increase timeout
2021-11-14 16:03:40 +01:00
dependabot[bot]
ecbb9c475f
build(deps): bump github.com/nishanths/exhaustive from 0.3.6 to 0.6.0 (#2353)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-11-09 01:50:02 +01:00
Nishanth Shanmugham
054fc3ff50
exhaustive: upgrade to v0.3.6; add new flags and deprecate old ones (#2344) 2021-11-04 23:08:37 +01:00
Lucas Bremgartner
861262b71f
Add github.com/breml/bidichk linter (#2330)
Some checks failed
Extra / Vulnerability scanner (push) Has been cancelled
CI / go-mod (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Release a tag / release (push) Has been cancelled
CI / tests-on-windows (push) Has been cancelled
CI / tests-on-macos (push) Has been cancelled
CI / tests-on-unix (1.16) (push) Has been cancelled
CI / tests-on-unix (1.17) (push) Has been cancelled
CI / check_generated (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
2021-11-02 21:54:42 +01:00
Sebastien Rosset
2c01ea7ff2
gocritic: add support for variable substitution in ruleguard path settings (#2308)
* Add  variable for ruleguard config directory

* Add  variable for ruleguard config directory

* Add  variable for ruleguard config directory

* Add  variable for ruleguard config directory

* Add unit tests

* Add unit tests for ruleguard

* Add unit tests for ruleguard

* Add unit tests for ruleguard

* Add unit tests for ruleguard, fix package name
2021-11-02 11:34:19 -07:00
dependabot[bot]
1012c10d30
build(deps): bump github.com/nakabonne/nestif from 0.3.0 to 0.3.1 (#2325)
Co-authored-by: Fernandez Ludovic <lfernandez.dev@gmail.com>
2021-11-02 02:02:50 +01:00
Benjamin
e5cd59a607
dev: replace ioutil with io and os (#2318) 2021-11-01 20:21:26 +01:00
Ryan Leung
cc262bbac9
gosec: filter issues according to the severity and confidence (#2295) 2021-10-28 00:49:02 +02:00
Maik Schreiber
f500e4cb87
add varnamelen linter (#2240) 2021-10-28 00:37:13 +02:00
dependabot[bot]
6edca924d3
build(deps): bump github.com/securego/gosec/v2 from 2.8.1 to 2.9.1 (#2299)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-10-19 00:20:49 +02:00
sylvia
7fc2fe81f1
feat: add contextcheck linter (#2216) 2021-10-04 23:21:50 +02:00
sivchari
20699a7213
Add tenv linter (#2221) 2021-09-26 19:50:47 +02:00
Oleg Butuzov
17d24ebd67
nlreturn: add block-size option (#2237) 2021-09-18 14:29:45 +02:00
Anton Telyshev
32292622f8
Add nilnil linter (#2236) 2021-09-17 10:25:37 +02:00
Oleg Butuzov
2ea496f22b
new-linter: ireturn (checks for function return type) (#2219) 2021-09-16 11:47:56 +02:00
Anton Telyshev
652bd912af
Add errname linter (#2129)
* Add errname linter

* bump errname version
2021-08-04 15:19:58 -07:00
Ludovic Fernandez
15963edb57
Revert "add nilassign linter" (#2154)
This reverts commit bbf045026561868378d730fdefebe0f0f62c2087.
2021-08-03 17:30:42 +02:00
sivchari
bbf0450265
add nilassign linter (#2131)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-07-28 20:27:26 +02:00
Robert Liebowitz
b3f9763246
errcheck: allow exclude config without extra file (#2110)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-07-13 02:23:12 +02:00
paul fisher
52b55141c4
Bump github.com/jgautheron/goconst from 0.5.6 to 0.5.7(#2044) 2021-06-09 22:20:13 +02:00
dependabot[bot]
b5d847f07f
build(deps): bump github.com/mgechev/revive from 1.0.6 to 1.0.7 (#2027) 2021-05-31 09:31:49 +02:00
Ludovic Fernandez
6172338bd4
nolintlint: fix false positive. (#2013) 2021-05-31 09:04:37 +02:00