273 Commits

Author SHA1 Message Date
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
Kensei Nakada
012559c506
Add linter wastedassign (#1651) 2021-02-21 22:01:51 +01:00
Ludovic Fernandez
2e7c389deb
Update staticcheck to v0.1.2 (2020.2.2) (#1756) 2021-02-21 16:27:32 +01:00
Sergey Vilgelm
f00da2c0b7
Add stringintconv and ifaceassert to govet (#1360) 2021-02-20 16:37:05 +01:00
Simon Sawert
b7aac3b1ad
Bump wsl to v3.2.0 (#1750) 2021-02-20 15:16:10 +01:00
Ludovic Fernandez
ea5f479087
exhaustivestruct: add missing settings (#1746) 2021-02-19 19:20:47 +01:00
Ludovic Fernandez
4b3fb4c64f
revive: fix types and default configuration. (#1747) 2021-02-19 01:40:40 +01:00
Ludovic Fernandez
32e8517a34
cyclop: add missing settings (#1743) 2021-02-18 21:17:04 +01:00
Ludovic Fernandez
34e5fc6396
Use upstream gocyclo. (#1739)
Some checks failed
Extra / Vulnerability scanner (push) Failing after 19s
CI / golangci-lint (push) Failing after 2m53s
CI / tests-on-windows (push) Has been skipped
CI / tests-on-macos (push) Has been skipped
CI / tests-on-unix (1.14) (push) Has been skipped
CI / tests-on-unix (1.15) (push) Has been skipped
CI / tests-on-unix (1.16) (push) Has been skipped
CI / check_generated (push) Has been skipped
CI / go-mod (push) Failing after 15m20s
Release a tag / release (push) Failing after 15m3s
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-02-17 10:27:15 +01:00
Bartłomiej Klimczak
2121370f81
add 'cyclop' linter (#1738) 2021-02-17 09:48:29 +01:00
Ludovic Fernandez
1b30a171ce
fix: wrong load mode (#1733)
* fix: asciicheck

* fix: exportloopref

* fix: exhaustivestruct

* fix: makezero
2021-02-14 12:11:38 -06:00
Ludovic Fernandez
b0b2dc6b36
feat: add durationcheck linter. (#1734)
Co-authored-by: Sergey Vilgelm <sergey.vilgelm@ibm.com>
2021-02-14 11:47:06 -06:00
Sebastian Spaink
35b6f35476
Add "revive" linter (#1729) 2021-02-14 14:36:37 +01:00
Aleksey Bakin
cc152be1a9
bump thelper linter version to v0.3.0 (#1696) 2021-02-07 18:28:04 +01:00
Robert Liebowitz
2a5b42cecc
prealloc: Use upstream version (#1694) 2021-02-06 14:17:25 +01:00
Ludovic Fernandez
60455b502b
fix: add missing ifshort configuration. (#1672) 2021-02-01 23:13:53 +01:00
Andrew Shannon Brown
9e0c9f3929
Expose more config options for forbidigo (#1677) 2021-02-01 21:16:28 +01:00
Sebastien Rosset
443e5b6c73
Print error message and exit with non-zero status when ruleguard parse error occurs (#1666) 2021-02-01 12:50:25 +01:00