Sasha Melentyev
a9dc1ce178
dev: change format like function without args ( #3012 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-07-24 18:24:01 +02:00
alingse
b415402720
Add linter asasalint
to lint pass []any as any ( #2968 )
Release a tag / release (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
2022-07-18 09:17:27 +02:00
Ludovic Fernandez
27f921fa14
dev: use directives instead of comments for tests ( #2978 )
2022-07-15 15:32:10 +02:00
Loong Dai
b8f1e2a549
build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 ( #2965 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-07-09 23:15:47 +02:00
dependabot[bot]
3a0f646e31
build(deps): bump github.com/maratori/testpackage from 1.0.1 to 1.1.0 ( #2945 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-28 14:44:44 +02:00
dependabot[bot]
023e1c4fdf
build(deps): bump github.com/firefart/nonamedreturns from 1.0.2 to 1.0.4 ( #2944 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-28 14:13:15 +02:00
dependabot[bot]
98c811d0e5
build(deps): bump github.com/firefart/nonamedreturns from 1.0.1 to 1.0.2 ( #2929 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-19 14:20:47 +02:00
Ludovic Fernandez
4b218e664c
config: spread go version on linter's configurations ( #2913 )
2022-06-13 09:01:05 +02:00
dependabot[bot]
97eea6ea49
build(deps): bump github.com/kunwardeep/paralleltest from 1.0.4 to 1.0.6 ( #2918 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-12 13:43:23 +02:00
Sasha Melentyev
c6fd368c89
dev: preallocate some slices and maps ( #2902 )
2022-06-05 22:16:21 +02:00
Ludovic Fernandez
b504325dc5
thelper: allow to disable one option ( #2854 )
2022-05-16 21:16:25 +02:00
Anton Zinovyev
380699a099
feat: add exhaustruct
linter ( #2667 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-04-30 12:48:16 +02:00
Aleksey Bakin
7086a94425
bump github.com/kulti/thelper from 0.5.1 to 0.6.2 ( #2742 )
2022-04-07 08:11:09 +03:00
Maik Schreiber
d2ccc6d2bb
bump varnamelen to v0.8.0 ( #2703 )
2022-03-30 03:00:13 +02:00
dependabot[bot]
b0ff233b2c
build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.5.0 to 2.6.0 ( #2696 )
...
* build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.5.0 to 2.6.0
Bumps [github.com/tomarrell/wrapcheck/v2](https://github.com/tomarrell/wrapcheck ) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/tomarrell/wrapcheck/releases )
- [Commits](https://github.com/tomarrell/wrapcheck/compare/v2.5.0...v2.6.0 )
---
updated-dependencies:
- dependency-name: github.com/tomarrell/wrapcheck/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* add new option
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-03-27 15:33:36 +03:00
Ludovic Fernandez
7bbbe77e5e
feat: automatic Go version detection ( #2669 )
...
Release a tag / release (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
* feat: disable unsupported go1.18 govet analyzers
* fix: inactivate interfacer with go1.18
2022-03-23 16:54:11 +01:00
Ludovic Fernandez
0c0804c6a4
go1.18 support ( #2438 )
2022-03-18 14:58:24 +01:00
John Reese
42ca644953
gofumpt: add module-path setting ( #2644 )
2022-03-12 18:56:42 +01:00
dependabot[bot]
6fc688ae05
build(deps): bump github.com/securego/gosec/v2 from 2.9.6 to 2.10.0 ( #2624 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-02-27 14:03:53 +01:00
R. Franco
ea1df6f164
Default to YAML when config file has no extension ( #2618 )
2022-02-24 21:01:11 +01:00
Ludovic Fernandez
2f689958c3
errcheck: add an option to remove default exclusions ( #2607 )
2022-02-21 16:39:17 +01:00
Chris Suszynski
4f20929c4b
gci: restore defaults for sections ( #2589 )
2022-02-17 18:19:31 +01:00
Ludovic Fernandez
9a70e9a458
gci: fix configuration naming ( #2578 )
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
2022-02-17 12:17:39 +01:00
Ludovic Fernandez
05e7d32e44
bump github.com/mgechev/revive from v1.1.3 to v1.1.4 ( #2576 )
2022-02-16 19:38:10 +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
Denis Limarev
3d733a2a52
fix debug output ( #2531 )
2022-01-31 09:45:58 +02:00
leonklingele
32cf48edc9
Add "grouper" linter ( #2497 )
2022-01-25 01:24:35 +01:00
Oleg Butuzov
59c6d296ce
importas: new option no-extra-aliases
( #2494 )
2022-01-19 16:33:12 +01:00
Ludovic Fernandez
1685402de9
gomnd: new configuration ( #2498 )
2022-01-19 12:46:51 +01:00
Oleg Butuzov
dff995c6b2
varnamelen: explicit default values ( #2496 )
2022-01-19 12:28:51 +01:00
Hiroyuki Yagihashi
e3d0247ee2
Add maintidx linter ( #2435 )
2022-01-18 13:50:52 +01:00
Oleg Butuzov
95b9b23464
godot: add period option ( #2483 )
2022-01-15 13:53:05 +02:00
Oleg Butuzov
cf053b2624
exhaustive: drop deprecated/unused settings ( #2482 )
2022-01-14 14:30:15 +01:00
Tim Kral
138699d60f
depguard: updates configuration ( #2467 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-01-09 11:48:31 +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
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
Alexander Melentyev
ef928947b5
dev: reused exit codes ( #2364 )
2021-11-18 19:46:44 +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
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
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
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
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
Sebastien Rosset
bdc2f96de9
Add code comments to document source code ( #2306 )
2021-10-25 00:06:58 +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