56 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
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
Ludovic Fernandez
b504325dc5
thelper: allow to disable one option (#2854) 2022-05-16 21:16:25 +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
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
Maik Schreiber
d2ccc6d2bb
bump varnamelen to v0.8.0 (#2703) 2022-03-30 03:00:13 +02:00
dependabot[bot]
b0ff233b2c
build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.5.0 to 2.6.0 (#2696)
* build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.5.0 to 2.6.0

Bumps [github.com/tomarrell/wrapcheck/v2](https://github.com/tomarrell/wrapcheck) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/tomarrell/wrapcheck/releases)
- [Commits](https://github.com/tomarrell/wrapcheck/compare/v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: github.com/tomarrell/wrapcheck/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* add new option

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-03-27 15:33:36 +03: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
John Reese
42ca644953
gofumpt: add module-path setting (#2644) 2022-03-12 18:56:42 +01:00
dependabot[bot]
6fc688ae05
build(deps): bump github.com/securego/gosec/v2 from 2.9.6 to 2.10.0 (#2624)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-02-27 14:03:53 +01:00
Ludovic Fernandez
2f689958c3
errcheck: add an option to remove default exclusions (#2607) 2022-02-21 16:39:17 +01:00
Chris Suszynski
4f20929c4b
gci: restore defaults for sections (#2589) 2022-02-17 18:19:31 +01:00
Ludovic Fernandez
9a70e9a458
gci: fix configuration naming (#2578)
Some checks failed
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
2022-02-17 12:17:39 +01:00
Ludovic Fernandez
05e7d32e44
bump github.com/mgechev/revive from v1.1.3 to v1.1.4 (#2576) 2022-02-16 19:38:10 +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
leonklingele
32cf48edc9
Add "grouper" linter (#2497) 2022-01-25 01:24:35 +01:00
Oleg Butuzov
59c6d296ce
importas: new option no-extra-aliases (#2494) 2022-01-19 16:33:12 +01:00
Ludovic Fernandez
1685402de9
gomnd: new configuration (#2498) 2022-01-19 12:46:51 +01:00
Oleg Butuzov
dff995c6b2
varnamelen: explicit default values (#2496) 2022-01-19 12:28:51 +01:00
Hiroyuki Yagihashi
e3d0247ee2
Add maintidx linter (#2435) 2022-01-18 13:50:52 +01:00
Oleg Butuzov
95b9b23464
godot: add period option (#2483) 2022-01-15 13:53:05 +02:00
Oleg Butuzov
cf053b2624
exhaustive: drop deprecated/unused settings (#2482) 2022-01-14 14:30:15 +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
Oleg Butuzov
5d9896a7d8
dev: sorting linters by alphabet (ascending order) (#2437)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-12-28 16:01:37 +01:00
Tim Kral
a5f0a4d861
wrapcheck: update configuration to include ignoreSignRegexps (#2379) 2021-11-26 23:26:31 +01:00
Lucas Bremgartner
55358972d6
Add errchkjson linter (#2362) 2021-11-26 23:25:59 +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
Lucas Bremgartner
4950169191
bump bidichk from v0.1.1 to v0.2.0 2021-11-06 15:24:04 +01:00
Maik Schreiber
1b53520405
bump varnamelen to v0.4.0 (#2348) 2021-11-06 01:12:29 +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
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
Sebastien Rosset
bdc2f96de9
Add code comments to document source code (#2306) 2021-10-25 00:06:58 +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
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
hn8
6c295e4042
deps: Update Wrapcheck to v2.3.0 (#2145)
* Update Wrapcheck to v2.3

Updat ignoreSigs default, add ignorePackageGlobs

* Update .golangci.example.yml

Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com>

Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com>
2021-08-02 14:17:39 +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
dependabot[bot]
f285d2c570
build(deps): bump github.com/nishanths/exhaustive from 0.1.0 to 0.2.3 (#2112) 2021-07-13 02:22:21 +02:00
Kailun Qin
678ae9fcaf
gofumpt: Add lang-version option (#2069) 2021-06-23 05:56:20 +02:00
Ludovic Fernandez
9ce20f91d5
revive: add enable-all-rules. (#2075) 2021-06-23 01:06:43 +02:00
ofw
eed344f619
revive: allow to disable rule (#2055)
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.15) (push) Has been cancelled
CI / tests-on-unix (1.16) (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-06-15 14:28:07 +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
Ludovic Fernandez
b916c9318b
staticcheck: configuration for staticcheck, gosimple, stylecheck (#2017) 2021-05-27 20:11:30 +02:00
Chris Bandy
5c6adb63c9
importas: allow repeated aliases (#1960)
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.15) (push) Has been cancelled
CI / tests-on-unix (1.16) (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-05-08 18:18:50 +02:00