Ludovic Fernandez
fcef82475c
docs: improve linters page ( #1995 )
...
* TOC level 3
* drop `.golangci.yaml` from the Configuration page
* generate a dedicated configuration section for each linters.
* fix changelog heading
2021-05-17 23:56:46 +02:00
Ludovic Fernandez
f95b1ed39f
golint: deprecation ( #1965 )
2021-05-11 00:50:50 +02:00
Chris Bandy
5c6adb63c9
importas: allow repeated aliases ( #1960 )
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
Kensei Nakada
c213e4ed71
Bump wastedassign to v1.0.0 ( #1955 )
2021-05-05 13:22:48 +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
Ludovic Fernandez
8f3ad45e1c
gosec: add configuration ( #1930 )
2021-04-24 23:20:12 +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 )
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
Andrew Shannon Brown
e1a734e559
nolintlint: allow to fix //nolint lines ( #1583 )
2021-03-13 05:11:05 +01:00
Ludovic Fernandez
9838a57941
dev: remove old TODO and remove assert import alias on require. ( #1838 )
2021-03-13 04:45:32 +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
Kensei Nakada
351f57b174
bump wastedassign to v0.2.0 ( #1815 )
2021-03-09 18:38:47 +01: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
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
Patrick Kuca
a3c2ed0206
test: Remove comparison to gometalinter in benchmarks ( #1732 )
2021-02-21 20:24:01 +01:00
Ludovic Fernandez
2e7c389deb
Update staticcheck to v0.1.2 (2020.2.2) ( #1756 )
2021-02-21 16:27:32 +01:00
Ludovic Fernandez
a1e3749ac2
Bump github.com/Djarvur/go-err113 to HEAD ( #1760 )
2021-02-21 14:48:54 +01:00
Ludovic Fernandez
9e9a814052
test: Bump github.com/shirou/gopsutil to v3.21.1 ( #1759 )
2021-02-21 14:42:49 +01:00
Sergey Vilgelm
251b205f54
Deprecate Interfacer
linter ( #1755 )
2021-02-20 18:55:11 -06:00
Andrew Shannon Brown
eace6a11a9
test: Allow fix tests to run concurrently ( #1576 )
2021-02-20 16:38:39 +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
b39dbcd694
durationcheck: False positive when multiplying with int type struct field ( #1744 )
Extra / Vulnerability scanner (push) Failing after 33s
CI / go-mod (push) Failing after 43s
CI / golangci-lint (push) Failing after 1m0s
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
Release a tag / release (push) Failing after 1m10s
Release a tag / docker-release (map[Dockerfile:build/Dockerfile.alpine]) (push) Has been skipped
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been skipped
2021-02-20 12:43:21 +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
Bartłomiej Klimczak
2121370f81
add 'cyclop' linter ( #1738 )
2021-02-17 09:48:29 +01:00
Ludovic Fernandez
123da8e6c7
Add go1.16 support ( #1740 )
2021-02-17 05:17:41 +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
dependabot[bot]
5694c50144
build(deps): bump github.com/mbilski/exhaustivestruct from 1.1.0 to 1.2.0 ( #1680 )
2021-02-01 21:45:42 +01:00
Andrew Shannon Brown
9e0c9f3929
Expose more config options for forbidigo ( #1677 )
2021-02-01 21:16:28 +01:00
gaojingyu
839dd7445e
rowserrcheck: fix reports false positive ( #1670 )
2021-01-30 03:01:07 +01:00
Eugene Simonov
750309d157
Add ifshort linter ( #1587 )
2021-01-20 23:07:43 +01:00
Andrew Shannon Brown
ec46f42e01
Verify linter name in integration tests ( #1595 )
2021-01-15 21:37:56 +01:00