Denis Limarev
3d17f2fac1
gocritic: support autofix ( #2450 )
2022-01-03 22:57:05 +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
Miles Delahunty
b3a8da4f46
revive: fix enableAllRules ( #2380 )
2021-12-14 08:55:51 +01:00
dependabot[bot]
56f27d0ad2
build(deps): bump github.com/securego/gosec/v2 from 2.9.3 to 2.9.5 ( #2413 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-12-14 05:18:18 +01:00
Tim Kral
a5f0a4d861
wrapcheck: update configuration to include ignoreSignRegexps ( #2379 )
2021-11-26 23:26:31 +01:00
Lucas Bremgartner
55358972d6
Add errchkjson linter ( #2362 )
2021-11-26 23:25:59 +01:00
dependabot[bot]
fc888cf0cb
build(deps): bump github.com/nishanths/exhaustive from 0.6.0 to 0.7.11 ( #2371 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-11-20 18:53:51 +01:00
Maik Schreiber
7f25fee16b
bump varnamelen from v0.4.0 to v0.5.0 ( #2369 )
2021-11-20 16:36:07 +01:00
Alexander Melentyev
b67af9afb9
dev: clean up and used iota for exit codes ( #2366 )
2021-11-18 19:52:21 +01:00
Alexander Melentyev
ef928947b5
dev: reused exit codes ( #2364 )
2021-11-18 19:46:44 +01:00
Danil Ovchinnikov
ec58c48180
Show deprecated mark in the CLI linters help ( #2350 )
...
* Show deprecated mark in linters list
* fix output deprecated mark in linters list
2021-11-14 14:33:46 -08:00
Rafik Draoui
e788757b32
Ensure that the Issues key in JSON format is a list ( #2358 )
...
This makes the data more consistent and easier to use with other tools.
For example, a third-party tool can iterate over `Issues` without having
to make a preliminary null check.
2021-11-14 14:33:19 -08: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
dependabot[bot]
ecbb9c475f
build(deps): bump github.com/nishanths/exhaustive from 0.3.6 to 0.6.0 ( #2353 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-11-09 01:50:02 +01:00
Lucas Bremgartner
4950169191
bump bidichk from v0.1.1 to v0.2.0
2021-11-06 15:24:04 +01:00
Maik Schreiber
1b53520405
bump varnamelen to v0.4.0 ( #2348 )
2021-11-06 01:12:29 +01:00
Nishanth Shanmugham
054fc3ff50
exhaustive: upgrade to v0.3.6; add new flags and deprecate old ones ( #2344 )
2021-11-04 23:08:37 +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
Sebastien Rosset
2c01ea7ff2
gocritic: add support for variable substitution in ruleguard path settings ( #2308 )
...
* Add variable for ruleguard config directory
* Add variable for ruleguard config directory
* Add variable for ruleguard config directory
* Add variable for ruleguard config directory
* Add unit tests
* Add unit tests for ruleguard
* Add unit tests for ruleguard
* Add unit tests for ruleguard
* Add unit tests for ruleguard, fix package name
2021-11-02 11:34:19 -07:00
Oleksandr Redko
f9f6486e15
docs: change Github to GitHub in comments and docs ( #2341 )
2021-11-02 19:25:21 +01:00
Oleksandr Redko
1be9570abf
Refactor: preallocate slices ( #2340 )
2021-11-02 09:27:06 -07:00
Ludovic Fernandez
a8887d5655
fix: don't hide enable-all option ( #2338 )
2021-11-02 14:02:23 +01:00
Kirill Danshin
8cb9c769ff
fix: Add missing space in "disabled by config" warning ( #2310 )
...
Before this change, the message said "However, as this checkis disabled by default".
2021-11-01 20:32:39 -07:00
Benjamin
e5cd59a607
dev: replace ioutil with io and os ( #2318 )
2021-11-01 20:21:26 +01:00
Ryan Leung
cc262bbac9
gosec: filter issues according to the severity and confidence ( #2295 )
2021-10-28 00:49:02 +02:00
Maik Schreiber
f500e4cb87
add varnamelen linter ( #2240 )
2021-10-28 00:37:13 +02:00
Ludovic Fernandez
413bec6a4d
errcheck: empty selector name. ( #2309 )
2021-10-25 15:04:13 +02:00
Sebastien Rosset
bdc2f96de9
Add code comments to document source code ( #2306 )
2021-10-25 00:06:58 +02:00
dependabot[bot]
4ce9a19e7d
build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.6.0 ( #2041 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-10-23 00:51:11 +02:00
dependabot[bot]
6edca924d3
build(deps): bump github.com/securego/gosec/v2 from 2.8.1 to 2.9.1 ( #2299 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-10-19 00:20:49 +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
Luke Shumaker
54f4301ddf
gci: Parse the settings more similarly to the cli ( #2217 )
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 / 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-09-04 16:39:09 +02:00
Ludovic Fernandez
ee30b44e4e
go-critic: fix invalid type conversions. ( #2186 )
2021-08-20 09:30:05 +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
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
Tam Mach
a6fcf6f001
cleanup: Remove completion subcommand ( #2107 )
2021-07-07 13:07:49 +02:00