522 Commits

Author SHA1 Message Date
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
Ludovic Fernandez
091a641f91
docs: have a clear explanation about the staticcheck integration. (#2894)
docs: have a clear state about staticcheck
2022-06-06 13:19:33 +02:00
dependabot[bot]
6a412d3d10
build(deps): bump github.com/kunwardeep/paralleltest from 1.0.3 to 1.0.4 (#2907)
* build(deps): bump github.com/kunwardeep/paralleltest from 1.0.3 to 1.0.4

Bumps [github.com/kunwardeep/paralleltest](https://github.com/kunwardeep/paralleltest) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/kunwardeep/paralleltest/releases)
- [Commits](https://github.com/kunwardeep/paralleltest/compare/v1.0.3...v1.0.4)

---
updated-dependencies:
- dependency-name: github.com/kunwardeep/paralleltest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* fix: linter

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-06 13:16:40 +08: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
Ville Skyttä
86bd842377
chore: spelling and grammar fixes (#2865) 2022-05-20 02:59:31 +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
Gustavo Bazan
59971a13f4
fix: fix typo for errchkjson (#2842) 2022-05-10 21:47:59 +01: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
Ludovic Fernandez
f79bc883fb
unused: fix false-positive (#2772) 2022-04-19 09:26:01 +02:00
Christian Mehlmauer
333187c066
Add nonamedreturns linter (#2701) 2022-04-17 15:41:08 +02:00
dependabot[bot]
f7a66d0193
build(deps): bump github.com/go-critic/go-critic from 0.6.2 to 0.6.3 (#2759)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-04-11 11:04:10 +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
dependabot[bot]
00b1b71136
build(deps): bump github.com/mgechev/revive from 1.1.4 to 1.2.0 (#2741) 2022-04-04 00:15:19 +02:00
Maik Schreiber
d2ccc6d2bb
bump varnamelen to v0.8.0 (#2703) 2022-03-30 03:00:13 +02:00
lufe
b8c061e5f3
Add execinquery linter (#2677) 2022-03-29 12:31:56 +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
Ludovic Fernandez
8f7f44d175
depguard: reduce requirements (#2672) 2022-03-22 00:30:20 +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
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
Ludovic Fernandez
30c6166b08
revive: fix default values (#2611) 2022-02-23 09:28:49 +01:00
Ludovic Fernandez
2f689958c3
errcheck: add an option to remove default exclusions (#2607) 2022-02-21 16:39:17 +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
Maik Schreiber
8d3c6e12b3
bump varnamelen from v0.5.0 to v0.6.0 (#2551) 2022-02-06 07:09:40 +02:00
leonklingele
32cf48edc9
Add "grouper" linter (#2497) 2022-01-25 01:24:35 +01:00
dependabot[bot]
620bd9bb3d
build(deps): bump github.com/mgechev/revive from 1.1.2 to 1.1.3 (#2517)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-01-24 23:07:14 +01:00
Ludovic Fernandez
d52a8fc081
fix: importas no-extra-aliases (#2503) 2022-01-20 05:19:53 +02:00
Oleg Butuzov
59c6d296ce
importas: new option no-extra-aliases (#2494) 2022-01-19 16:33:12 +01:00
sivchari
68f530a81a
add containedctx linter (#2382) 2022-01-19 14:34:53 +01:00
Ludovic Fernandez
1685402de9
gomnd: new configuration (#2498) 2022-01-19 12:46:51 +01:00
Hiroyuki Yagihashi
e3d0247ee2
Add maintidx linter (#2435) 2022-01-18 13:50:52 +01:00
Oleg Butuzov
b2eef6e165
dev: rename rowserrcheck linter file to match linter name. (#2495) 2022-01-18 13:04:18 +01:00
dependabot[bot]
80659f8597
build(deps): bump github.com/BurntSushi/toml from 0.4.1 to 1.0.0 (#2491) 2022-01-17 23:54:40 +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