Patrick Ohly
afd0ba5278
forbidigo: better support for configuring complex rules ( #3612 )
2023-05-31 22:33:20 +02:00
Patrick Ohly
8fde4632fa
rules: support inverted path match ( #3617 )
2023-05-31 17:25:59 +02:00
Oleg Butuzov
66ac4b5570
ireturn: update tests & docs ( #3800 )
2023-04-25 13:57:32 +02:00
Ludovic Fernandez
fb746c4b04
depguard: migrate to v2 ( #3795 )
2023-04-23 17:56:47 +02:00
Ludovic Fernandez
cec16b68ab
usestdlibvars: fix configuration ( #3797 )
2023-04-23 17:56:27 +02:00
Rory Prendergast
842abcde73
gci: improve error message ( #3777 )
2023-04-21 22:22:54 +02:00
hbc
52edd01248
gosec: convert global settings as map with proper key type ( #3779 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-04-21 22:20:59 +02:00
Yifei Liu
134f2e0491
add tagalign linter ( #3709 )
2023-03-26 16:35:06 +02:00
WÁNG Xuěruì
553d7df585
feat: add the gosmopolitan linter ( #3458 )
2023-03-25 23:35:39 +01:00
Ludovic Fernandez
5b4f7c71e1
dev: remove github.com/pkg/errors inside tests ( #3642 )
2023-02-27 22:21:16 +01:00
Tom
3cc6373117
feat: add musttag linter ( #3386 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-01-21 12:36:35 +00:00
Ivan
8a1cf904f9
lll: skip imports ( #3288 )
2022-10-15 10:57:28 +02:00
Ludovic Fernandez
05c3af1ad5
paralleltest: add tests of the ignore-missing option ( #3233 )
2022-09-23 10:06:10 +02:00
Ludovic Fernandez
39f401ba3c
dev: review and clean linter tests ( #3139 )
2022-09-01 18:26:28 +02:00
Ludovic Fernandez
aba80c7fe2
feat: update gofmt and goimports and add option "rewrite-rules" ( #3174 )
2022-09-01 12:25:26 +00:00
Choko
58809c3bf5
feat: add reassign linter ( #3064 )
2022-08-23 13:19:26 +02:00
Ludovic Fernandez
2b4c9ab4fc
dev: follow standards by using 'want' instead of 'ERROR' for tests ( #3104 )
2022-08-20 18:53:45 +02:00
Ludovic Fernandez
f7fba37cc9
dev: replace golangcitest:config by golangcitest:config_path ( #3099 )
2022-08-15 18:23:07 +02:00
dependabot[bot]
9da04f5070
build(deps): bump github.com/go-critic/go-critic from 0.6.3 to 0.6.4 ( #3089 )
...
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-08-14 18:21:32 +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
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
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
Hiroyuki Yagihashi
e3d0247ee2
Add maintidx linter ( #2435 )
2022-01-18 13:50:52 +01:00
Andrew Shannon Brown
efb35995f3
Bump github.com/ashanbrown/forbidigo from 1.2.0 to 1.3.0 ( #2487 )
2022-01-16 02:07:35 +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
Ludovic Fernandez
e41f428ded
dev: improve and clean fix_test ( #2457 )
2022-01-04 07:10:25 +01:00
Lucas Bremgartner
55358972d6
Add errchkjson linter ( #2362 )
2021-11-26 23:25:59 +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
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
Ryan Leung
cc262bbac9
gosec: filter issues according to the severity and confidence ( #2295 )
2021-10-28 00:49:02 +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
Oleg Butuzov
2ea496f22b
new-linter: ireturn (checks for function return type) ( #2219 )
2021-09-16 11:47:56 +02:00
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
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
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
cd6644d47b
revive: the default configuration is only applied when no dedicated configuration. ( #1831 )
2021-03-15 12:39:04 +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
Ludovic Fernandez
4b3fb4c64f
revive: fix types and default configuration. ( #1747 )
2021-02-19 01:40:40 +01:00
Sebastian Spaink
35b6f35476
Add "revive" linter ( #1729 )
2021-02-14 14:36:37 +01:00
Nishanth Shanmugham
76c452197b
add 'predeclared' linter ( #1606 )
2021-01-07 17:58:04 +01:00
Andrew Shannon Brown
222076fdc6
Add forbidigo linter ( #1569 )
2020-12-24 17:19:32 +01:00