179 Commits

Author SHA1 Message Date
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
Ludovic Fernandez
1bf82059f1
docs: improve linters page (#2617) 2022-02-24 20:57:28 +01:00
Ludovic Fernandez
2f689958c3
errcheck: add an option to remove default exclusions (#2607) 2022-02-21 16:39:17 +01:00
Craig Furman
374b3fd206
docs: add forbidigo example that uses comments (#2599) 2022-02-19 13:07:10 +01:00
golangci-releaser
ed93066d16
docs: Update documentation and assets (#2579)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-02-17 13:28:36 +01:00
Ludovic Fernandez
9a70e9a458
gci: fix configuration naming (#2578)
Some checks failed
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
Ville Skyttä
07f9b12e99
docs(decorder): fix disable-init-func-first-check: false elaboration (#2560) 2022-02-08 22:18:36 +01:00
Oleg Butuzov
617470fa9e
docs(revive): fix typo on the option disabled(#2520)
Some checks failed
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
2022-01-25 12:22:07 +01:00
leonklingele
32cf48edc9
Add "grouper" linter (#2497) 2022-01-25 01:24:35 +01:00
dependabot[bot]
620bd9bb3d
build(deps): bump github.com/mgechev/revive from 1.1.2 to 1.1.3 (#2517)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-01-24 23:07:14 +01:00
dependabot[bot]
9bad615c90
build(deps): bump github.com/securego/gosec/v2 from 2.9.5 to 2.9.6 (#2516)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-01-24 22:14:30 +01:00
Ludovic Fernandez
1b53352339
docs: improve configuration documentation (#2514) 2022-01-22 18:54:46 +01:00
Ludovic Fernandez
cec93b91c6
docs: improve configuration file content (#2501) 2022-01-20 09:24:52 +01:00
Oleg Butuzov
83ff65a7e2
docs: improve linters settings section (#2499) 2022-01-20 01:12:09 +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
9dacd6170c
docs: updates usage settings for go-mnd (#2476) 2022-01-14 14:29:29 +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
Lauris BH
d209389625
Add support for multiple outputs (#2386) 2022-01-04 21:36:27 +01:00
Oleg Butuzov
669852edbb
docs: more revive examples (#2459) 2022-01-04 08:36:38 +01:00
Ludovic Fernandez
3a6417c45e
doc: improve revive documentation (#2458) 2022-01-04 04:42:19 +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
Maik Schreiber
7f25fee16b
bump varnamelen from v0.4.0 to v0.5.0 (#2369) 2021-11-20 16:36:07 +01:00
mook
9cdc7af391
docs: fix wrong default value in comment (#2360) 2021-11-16 07:46:42 +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
77d4115b0f
docs: add documentation for go-critic and ruleguard settings (#2304) 2021-11-02 19:47:26 +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
Kevin Gillette
7fcd0a8113
docs: clarify nolintlint.allow-unused (#2319) 2021-11-02 02:07:10 +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
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
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
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
Ludovic Fernandez
245257b8fb
docs: improve goconst documentation. (#2128) 2021-07-27 11:13:33 +02:00