526 Commits

Author SHA1 Message Date
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
Luke Shumaker
54f4301ddf
gci: Parse the settings more similarly to the cli (#2217)
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 / 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-09-04 16:39:09 +02:00
Ludovic Fernandez
ee30b44e4e
go-critic: fix invalid type conversions. (#2186) 2021-08-20 09:30:05 +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
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
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
245257b8fb
docs: improve goconst documentation. (#2128) 2021-07-27 11:13:33 +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
dependabot[bot]
d913078be8
build(deps): bump github.com/mgechev/revive from 1.0.8 to 1.0.9 (#2113) 2021-07-13 02:07:23 +02:00
Ludovic Fernandez
36aa12425c
docs: Improve goimports description (#2109) 2021-07-07 22:14:02 +02:00
Tam Mach
a6fcf6f001
cleanup: Remove completion subcommand (#2107) 2021-07-07 13:07:49 +02:00
dependabot[bot]
879821e7ff
build(deps): bump github.com/daixiang0/gci from 0.2.8 to 0.2.9 (#2085)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-06-29 12:47:17 +02:00
subham sarkar
f08d330cbd
dev: fix interface implement check for "SkipDirs" (#2078) 2021-06-26 00:04:04 +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
Ludovic Fernandez
a20748098f
revive: fix exclude comment rule for const block. (#2064)
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-19 17:59:57 +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
Matthew Cobbing
2862ca630c
output: generate HTML report (#2043) 2021-06-08 01:33:40 +02:00
Ludovic Fernandez
505ed3c0f7
doc: Un-deprecate enable-all option. (#2039) 2021-06-02 17:04:48 +02:00
Ludovic Fernandez
6172338bd4
nolintlint: fix false positive. (#2013) 2021-05-31 09:04:37 +02:00
Mitsuo Heijo
a68a88ee02
build(deps): bump honnef.co/go/tools from v0.1.4 to v0.2.0 (#2019) 2021-05-29 20:44:40 +02:00
Kensei Nakada
2dcc761d21
Update wastedassign to v2.0.6 (#2020)
* Update: wastedassign to v2.0.5

* Update: wastedassign to v2.0.6
2021-05-29 14:26:26 +03:00
Ryan Currah
7776b546b8
gomodguard: fix problem where duplicate issues were being reported (#2018) 2021-05-27 22:21:23 +02:00
Ludovic Fernandez
b916c9318b
staticcheck: configuration for staticcheck, gosimple, stylecheck (#2017) 2021-05-27 20:11:30 +02:00
Ludovic Fernandez
fb7c90d6ee
revive: fix excludes (#2005) 2021-05-23 19:05:38 +02:00
Ludovic Fernandez
62668d41d0
revive: improve 'exported' rule output. (#1994) 2021-05-20 01:17:02 +02:00
Ludovic Fernandez
cf8fd685d0
revive: fix add-constant rule support. (#2003) 2021-05-19 17:39:10 +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
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
Stephen Brown II
07a0568df1
importas: add message if settings contain no aliases (#1956) 2021-05-07 00:58:10 +02:00
Ludovic Fernandez
ffe80615b0
Update importas to HEAD (#1934) 2021-05-01 18:41:42 +02:00
Ludovic Fernandez
a7865d2430
Update errorlint to HEAD (#1933) 2021-05-01 18:41:26 +02:00
Ludovic Fernandez
34ffdc243f
revive: convert hard coded excludes into default exclude patterns (#1938) 2021-05-01 18:40:56 +02:00
Mitsuo Heijo
cd9d8bb739
govet: Update vet passes (#1950) 2021-05-01 18:37:53 +02:00
Pierre Durand
8da9d3aa62
update go-critic to v0.5.6 (#1925) 2021-05-01 13:41:21 +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
db80e16aba
dev: cleanup config package (#1929)
* split config section into files.
* extract anonymous types.
* sort linters alphabetically.
2021-04-24 16:29:04 +02:00
Simon Sawert
d6bcf9f4b2
Update wsl to 3.3.0, sort config in example config (#1922)
* Update wsl to 3.3.0, sort config in example config
* chore: ignore CVE-2020-26160
2021-04-21 19:18:09 +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
Ludovic Fernandez
93df6f75f5
Add tagliatelle linter (#1906) 2021-04-12 17:59:50 +02:00