283 Commits

Author SHA1 Message Date
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
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
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
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
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
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
lufe
b8c061e5f3
Add execinquery linter (#2677) 2022-03-29 12:31:56 +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
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
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
eeda375f8e
bump github.com/daixiang0/gci to HEAD (#2593) 2022-02-17 18:20:11 +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
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
Simon Sawert
b5d8e6982c
Return error if any linter fails to run (#2471) 2022-01-15 18:55:36 +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
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
Oleksandr Redko
99c6516c6b
docs: fix grammar issues in comments (#2352) 2021-11-11 05:56:36 +01:00
Lucas Bremgartner
4950169191
bump bidichk from v0.1.1 to v0.2.0 2021-11-06 15:24:04 +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
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
sylvia
7fc2fe81f1
feat: add contextcheck linter (#2216) 2021-10-04 23:21:50 +02:00
Nate Finch
9b577fcb80
new-from-rev: add support for finding issues in entire files in a diff (#2264) 2021-09-30 18:43:31 +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
Tyler Beverley
a07b1fa26b
docs: suggest golangci-lint help linters (#2117) 2021-08-05 08:12:22 +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
Ludovic Fernandez
625445b1f5
runner: non-zero exit code when a linter produces a panic (#1979)
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-13 23:49:08 +02:00
Ludovic Fernandez
f95b1ed39f
golint: deprecation (#1965) 2021-05-11 00:50:50 +02:00
Tom Arrell
92fda268b2
Update Wrapcheck to v2, add configuration (#1947) 2021-05-01 00:13:51 +02:00
Ludovic Fernandez
12ed5facc9
staticcheck: configurable Go version. (#1946) 2021-04-30 22:28:50 +02:00
Ludovic Fernandez
8f3ad45e1c
gosec: add configuration (#1930) 2021-04-24 23:20:12 +02:00
Ludovic Fernandez
9cb902cdf2
fix: comma in exclude pattern leads to unexpected results (#1917) 2021-04-19 15:20:49 +02:00
Ludovic Fernandez
5d10450bc9
dev: clean configuration, documentation, and code (#1911)
* Remove dead code related to golangci.com
* remove old build tags
* stale bot: remove bug label from `exemptLabels`
* order `gitignore` entries alphabetically
* doc: order `linters-settings` alphabetically
* remove obsolete exclude rule
* release: add docs prefix to skip the commit in the changelog
2021-04-14 12:48:48 +02:00