290 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
93df6f75f5
Add tagliatelle linter (#1906) 2021-04-12 17:59:50 +02:00
Ben Ye
6844f6abf8
Add promlinter to lint metrics name (#1265) 2021-03-30 14:56:42 +02:00
Ludovic Fernandez
9aea4aee1c
typecheck: display compilation errors as report instead of error (#1861)
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.14) (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-03-25 23:52:55 +01:00
Ludovic Fernandez
809be02635
fix: linters load mode (#1862) 2021-03-21 23:06:40 +01:00
Ludovic Fernandez
cd6644d47b
revive: the default configuration is only applied when no dedicated configuration. (#1831) 2021-03-15 12:39:04 +01:00
Ludovic Fernandez
92adaa4497
docs: improve linters page (#1842) 2021-03-14 14:15:52 +01:00
Andrew Shannon Brown
e1a734e559
nolintlint: allow to fix //nolint lines (#1583) 2021-03-13 05:11:05 +01:00
Ludovic Fernandez
2ebc9d7202
dev: clean configuration and code (#1830) 2021-03-09 19:46:18 +01:00
Ludovic Fernandez
fce3949d5b
Deprecate 'scopelint' linter (#1819)
* Deprecate scopelint linter

* clean code base.
2021-03-09 10:19:22 -08:00
Ludovic Fernandez
94d2d803d2
Add gomoddirectives linter. (#1817) 2021-03-09 18:59:06 +01:00
Ludovic Fernandez
5ca29739e8
fix: use same default linter as go vet. (#1793) 2021-02-28 10:19:29 -06:00
Ludovic Fernandez
5698d46e1f
Add ForceTypeAssert linter (#1789) 2021-02-26 22:34:12 +01:00
Ludovic Fernandez
66fc779795
Add nilerr linter. (#1788) 2021-02-26 22:12:32 +01:00
Sergey Vilgelm
05836e489b
Integrate ImportAs linter (#1783)
* Integrate ImportAs linter

* review: don't panic :)

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-02-26 13:08:49 -06:00
Sergey Vilgelm
eefb97438c
ineffassign: use upstrea instead of golangci fork (#1780) 2021-02-26 00:36:43 +01:00
Sergey Vilgelm
b77118fdac
Use errcheck from main repo instead of golangci-lint fork (#1319)
Co-authored-by: Roman Leventov <leventov@ya.ru>
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-02-25 13:16:48 +01:00
Sebastien Rosset
ce3ff22a81
docs: improve gocritic description (#1766) 2021-02-25 00:16:16 +01:00
Ludovic Fernandez
856ffd16ec
Support RelatedInformation for analysis Diagnostic (#1773) 2021-02-24 09:08:17 +01:00
Ludovic Fernandez
b407bb8fd0
revive: add rule name in message. (#1772) 2021-02-24 09:07:54 +01:00
Ludovic Fernandez
42ff682f7f
Deprecate maligned, add govet fieldalignment as replacement (#1765) 2021-02-22 17:46:27 +01:00