603 Commits

Author SHA1 Message Date
ttys3
a2e6c7674d
feat(log): enable override coloring based on CLICOLOR and CLICOLOR_FORCE (#2657) 2022-04-05 18:37:08 +02:00
Milas Bowman
f5b92e1ae2
staticcheck: re-enable for go1.18 (#2746)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-04-05 17:04:59 +02: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
8bdc4d3f80
fix: help command (#2681)
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-03-24 12:49:36 +01: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
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