595 Commits

Author SHA1 Message Date
Ludovic Fernandez
8f7f44d175
depguard: reduce requirements (#2672) 2022-03-22 00:30:20 +01:00
Ludovic Fernandez
f055441536
fix: disable structcheck with go1.18 (#2666) 2022-03-20 22:32:04 +01:00
Ludovic Fernandez
0c0804c6a4
go1.18 support (#2438) 2022-03-18 14:58:24 +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
R. Franco
ea1df6f164
Default to YAML when config file has no extension (#2618) 2022-02-24 21:01: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
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
eeda375f8e
bump github.com/daixiang0/gci to HEAD (#2593) 2022-02-17 18:20:11 +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
Maik Schreiber
8d3c6e12b3
bump varnamelen from v0.5.0 to v0.6.0 (#2551) 2022-02-06 07:09:40 +02:00
Denis Limarev
3d733a2a52
fix debug output (#2531) 2022-01-31 09:45:58 +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
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
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
Simon Sawert
b5d8e6982c
Return error if any linter fails to run (#2471) 2022-01-15 18:55:36 +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
Ludovic Fernandez
e443887a4f
dev: add printers unit tests. (#2461) 2022-01-10 09:13:47 +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
Iskander (Alex) Sharipov
29eedbf6e5
pkg/result/processors: compile nolint regexp only once (#2463) 2022-01-06 18:10:42 +01:00
Donal Byrne
eaed228d2f
Print error text in <failure> tag content for more readable junit report (#2460) 2022-01-05 09:17:33 +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
Denis Limarev
3d17f2fac1
gocritic: support autofix (#2450) 2022-01-03 22:57:05 +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
Miles Delahunty
b3a8da4f46
revive: fix enableAllRules (#2380) 2021-12-14 08:55:51 +01:00
dependabot[bot]
56f27d0ad2
build(deps): bump github.com/securego/gosec/v2 from 2.9.3 to 2.9.5 (#2413)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-12-14 05:18:18 +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]
fc888cf0cb
build(deps): bump github.com/nishanths/exhaustive from 0.6.0 to 0.7.11 (#2371)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-11-20 18:53:51 +01:00
Maik Schreiber
7f25fee16b
bump varnamelen from v0.4.0 to v0.5.0 (#2369) 2021-11-20 16:36:07 +01:00
Alexander Melentyev
b67af9afb9
dev: clean up and used iota for exit codes (#2366) 2021-11-18 19:52:21 +01:00
Alexander Melentyev
ef928947b5
dev: reused exit codes (#2364) 2021-11-18 19:46:44 +01:00
Danil Ovchinnikov
ec58c48180
Show deprecated mark in the CLI linters help (#2350)
* Show deprecated mark in linters list

* fix output deprecated mark in linters list
2021-11-14 14:33:46 -08:00
Rafik Draoui
e788757b32
Ensure that the Issues key in JSON format is a list (#2358)
This makes the data more consistent and easier to use with other tools.
For example, a third-party tool can iterate over `Issues` without having
to make a preliminary null check.
2021-11-14 14:33:19 -08: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
Oleksandr Redko
99c6516c6b
docs: fix grammar issues in comments (#2352) 2021-11-11 05:56:36 +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