Ludovic Fernandez
f055441536
fix: disable structcheck with go1.18 ( #2666 )
2022-03-20 22:32:04 +01:00
Ludovic Fernandez
0c0804c6a4
go1.18 support ( #2438 )
2022-03-18 14:58:24 +01:00
Ludovic Fernandez
56d77e2bc3
bump github.com/denis-tingaikin/go-header from 0.4.2 to 0.4.3 ( #2614 )
2022-02-24 15:49:05 +01:00
Ludovic Fernandez
eeda375f8e
bump github.com/daixiang0/gci to HEAD ( #2593 )
2022-02-17 18:20:11 +01:00
ngehrsitz
f7d2406dc6
bump github.com/daixiang0/gci from 0.2.9 to 0.3.0 ( #2532 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-02-14 09:51:24 +01:00
leonklingele
32cf48edc9
Add "grouper" linter ( #2497 )
2022-01-25 01:24:35 +01:00
sivchari
68f530a81a
add containedctx linter ( #2382 )
2022-01-19 14:34:53 +01:00
Ludovic Fernandez
1685402de9
gomnd: new configuration ( #2498 )
2022-01-19 12:46:51 +01:00
Hiroyuki Yagihashi
e3d0247ee2
Add maintidx linter ( #2435 )
2022-01-18 13:50:52 +01:00
Simon Sawert
b5d8e6982c
Return error if any linter fails to run ( #2471 )
2022-01-15 18:55:36 +01:00
Florian Bosdorff
63f150ead1
Add decorder linter ( #2453 )
2022-01-05 04:18:53 +01:00
Oleg Butuzov
5d9896a7d8
dev: sorting linters by alphabet (ascending order) ( #2437 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-12-28 16:01:37 +01:00
Lucas Bremgartner
55358972d6
Add errchkjson linter ( #2362 )
2021-11-26 23:25:59 +01:00
Ludovic Fernandez
aa3550ab83
fix: reduce flaky in the CI and clean the .golangci.yml of the project ( #2359 )
...
* fix: clean linter configuration
* fix: minor changes
* fix: increase timeout
2021-11-14 16:03:40 +01:00
Oleksandr Redko
99c6516c6b
docs: fix grammar issues in comments ( #2352 )
2021-11-11 05:56:36 +01:00
Lucas Bremgartner
4950169191
bump bidichk from v0.1.1 to v0.2.0
2021-11-06 15:24:04 +01:00
Lucas Bremgartner
861262b71f
Add github.com/breml/bidichk linter ( #2330 )
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.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-11-02 21:54:42 +01:00
Maik Schreiber
f500e4cb87
add varnamelen linter ( #2240 )
2021-10-28 00:37:13 +02:00
Sebastien Rosset
bdc2f96de9
Add code comments to document source code ( #2306 )
2021-10-25 00:06:58 +02:00
sylvia
7fc2fe81f1
feat: add contextcheck linter ( #2216 )
2021-10-04 23:21:50 +02:00
Nate Finch
9b577fcb80
new-from-rev: add support for finding issues in entire files in a diff ( #2264 )
2021-09-30 18:43:31 +02:00
sivchari
20699a7213
Add tenv linter ( #2221 )
2021-09-26 19:50:47 +02:00
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
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
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
625445b1f5
runner: non-zero exit code when a linter produces a panic ( #1979 )
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
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
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
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
8db518cee0
Add versions, improve deprecation system, improve linters page ( #1854 )
2021-03-17 16:17:33 +01:00
Ludovic Fernandez
b6a6faa982
Add new presets ( #1847 )
2021-03-16 13:33:28 +01:00
Ludovic Fernandez
87d37c6cf5
Restore fast linters meaning ( #1844 )
...
* fix: remove useless conditions.
* feat: considere revive as slow.
* feat: considere linters with go analysis as slow.
2021-03-15 10:13:54 +03:00
Ludovic Fernandez
92adaa4497
docs: improve linters page ( #1842 )
2021-03-14 14:15:52 +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
Kamil Samigullin
c2b813325f
docs: update url of gocyclo linter ( #1794 )
2021-02-28 12:31:14 +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