302 Commits

Author SHA1 Message Date
Ludovic Fernandez
a7865d2430
Update errorlint to HEAD () 2021-05-01 18:41:26 +02:00
Ludovic Fernandez
34ffdc243f
revive: convert hard coded excludes into default exclude patterns () 2021-05-01 18:40:56 +02:00
Ludovic Fernandez
8f3ad45e1c
gosec: add configuration () 2021-04-24 23:20:12 +02:00
Ludovic Fernandez
93df6f75f5
Add tagliatelle linter () 2021-04-12 17:59:50 +02:00
Ben Ye
6844f6abf8
Add promlinter to lint metrics name () 2021-03-30 14:56:42 +02:00
Ludovic Fernandez
9aea4aee1c
typecheck: display compilation errors as report instead of error () 2021-03-25 23:52:55 +01:00
Ludovic Fernandez
809be02635
fix: linters load mode () 2021-03-21 23:06:40 +01:00
Ludovic Fernandez
cd6644d47b
revive: the default configuration is only applied when no dedicated configuration. () 2021-03-15 12:39:04 +01:00
Andrew Shannon Brown
e1a734e559
nolintlint: allow to fix //nolint lines () 2021-03-13 05:11:05 +01:00
Ludovic Fernandez
9838a57941
dev: remove old TODO and remove assert import alias on require. () 2021-03-13 04:45:32 +01:00
Ludovic Fernandez
2ebc9d7202
dev: clean configuration and code () 2021-03-09 19:46:18 +01:00
Ludovic Fernandez
fce3949d5b
Deprecate 'scopelint' linter ()
* Deprecate scopelint linter

* clean code base.
2021-03-09 10:19:22 -08:00
Kensei Nakada
351f57b174
bump wastedassign to v0.2.0 () 2021-03-09 18:38:47 +01:00
Ludovic Fernandez
5698d46e1f
Add ForceTypeAssert linter () 2021-02-26 22:34:12 +01:00
Ludovic Fernandez
66fc779795
Add nilerr linter. () 2021-02-26 22:12:32 +01:00
Sergey Vilgelm
05836e489b
Integrate ImportAs linter ()
* 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 () 2021-02-26 00:36:43 +01:00
Sergey Vilgelm
b77118fdac
Use errcheck from main repo instead of golangci-lint fork ()
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
Ludovic Fernandez
b407bb8fd0
revive: add rule name in message. () 2021-02-24 09:07:54 +01:00
Ludovic Fernandez
42ff682f7f
Deprecate maligned, add govet fieldalignment as replacement () 2021-02-22 17:46:27 +01:00
Kensei Nakada
012559c506
Add linter wastedassign () 2021-02-21 22:01:51 +01:00
Patrick Kuca
a3c2ed0206
test: Remove comparison to gometalinter in benchmarks () 2021-02-21 20:24:01 +01:00
Ludovic Fernandez
2e7c389deb
Update staticcheck to v0.1.2 (2020.2.2) () 2021-02-21 16:27:32 +01:00
Ludovic Fernandez
a1e3749ac2
Bump github.com/Djarvur/go-err113 to HEAD () 2021-02-21 14:48:54 +01:00
Ludovic Fernandez
9e9a814052
test: Bump github.com/shirou/gopsutil to v3.21.1 () 2021-02-21 14:42:49 +01:00
Sergey Vilgelm
251b205f54
Deprecate Interfacer linter () 2021-02-20 18:55:11 -06:00
Andrew Shannon Brown
eace6a11a9
test: Allow fix tests to run concurrently () 2021-02-20 16:38:39 +01:00
Sergey Vilgelm
f00da2c0b7
Add stringintconv and ifaceassert to govet () 2021-02-20 16:37:05 +01:00
Simon Sawert
b7aac3b1ad
Bump wsl to v3.2.0 () 2021-02-20 15:16:10 +01:00
Ludovic Fernandez
b39dbcd694
durationcheck: False positive when multiplying with int type struct field () 2021-02-20 12:43:21 +01:00
Ludovic Fernandez
ea5f479087
exhaustivestruct: add missing settings () 2021-02-19 19:20:47 +01:00
Ludovic Fernandez
4b3fb4c64f
revive: fix types and default configuration. () 2021-02-19 01:40:40 +01:00
Ludovic Fernandez
32e8517a34
cyclop: add missing settings () 2021-02-18 21:17:04 +01:00
Bartłomiej Klimczak
2121370f81
add 'cyclop' linter () 2021-02-17 09:48:29 +01:00
Ludovic Fernandez
123da8e6c7
Add go1.16 support () 2021-02-17 05:17:41 +01:00
Ludovic Fernandez
1b30a171ce
fix: wrong load mode ()
* fix: asciicheck

* fix: exportloopref

* fix: exhaustivestruct

* fix: makezero
2021-02-14 12:11:38 -06:00
Ludovic Fernandez
b0b2dc6b36
feat: add durationcheck linter. ()
Co-authored-by: Sergey Vilgelm <sergey.vilgelm@ibm.com>
2021-02-14 11:47:06 -06:00
Sebastian Spaink
35b6f35476
Add "revive" linter () 2021-02-14 14:36:37 +01:00
Aleksey Bakin
cc152be1a9
bump thelper linter version to v0.3.0 () 2021-02-07 18:28:04 +01:00
dependabot[bot]
5694c50144
build(deps): bump github.com/mbilski/exhaustivestruct from 1.1.0 to 1.2.0 () 2021-02-01 21:45:42 +01:00
Andrew Shannon Brown
9e0c9f3929
Expose more config options for forbidigo () 2021-02-01 21:16:28 +01:00
gaojingyu
839dd7445e
rowserrcheck: fix reports false positive () 2021-01-30 03:01:07 +01:00
Eugene Simonov
750309d157
Add ifshort linter () 2021-01-20 23:07:43 +01:00
Andrew Shannon Brown
ec46f42e01
Verify linter name in integration tests () 2021-01-15 21:37:56 +01:00
Ludovic Fernandez
44bf1977a0
fix regression: update thelper to v0.2.1 () 2021-01-09 20:21:31 +01:00
Ludovic Fernandez
e5a395b2c8
Update mvdan.cc/gofumpt to v0.1.0 () 2021-01-08 16:48:56 +01:00
Nishanth Shanmugham
76c452197b
add 'predeclared' linter () 2021-01-07 17:58:04 +01:00
Andrew Shannon Brown
306816ec85
Revert "Update nolintlint to fix nolint formatting and remove unused nolint statements ()" ()
This reverts commit aeb98303293570ba682ea933a4e9501a11a3aa99.

There are some cases that nolinter fixer wasn't handling properly or expectedly (, , ) so we'll fix those in a new attempt.
2020-12-27 11:49:58 -08:00
Andrew Shannon Brown
aeb9830329
Update nolintlint to fix nolint formatting and remove unused nolint statements ()
Also allow multiple ranges to satisfy a nolint statement as having been used.
2020-12-27 06:18:02 -08:00
Andrew Shannon Brown
222076fdc6
Add forbidigo linter () 2020-12-24 17:19:32 +01:00