114 Commits

Author SHA1 Message Date
Oleksandr Redko
b09bd6e4fc
dev: eliminate redundant indentation (#4650) 2024-04-16 16:46:02 +02:00
Ludovic Fernandez
2c666ed4eb
dev: group linter implementation and integration tests (#4603) 2024-04-09 21:34:55 +00:00
Ludovic Fernandez
3785a3b951
dev: option to not check deprecation (#4591) 2024-04-01 19:05:44 +02:00
Oleksandr Redko
d31832751e
dev: clean up unused receivers with revive (#4599) 2024-03-30 00:42:10 +01:00
Oleksandr Redko
ec9755157e
dev: enable testifylint linter (#4595) 2024-03-29 15:38:00 +01:00
Ludovic Fernandez
288c847019
feat: replace gomnd by mnd (#4572) 2024-03-28 21:23:44 +01:00
Ludovic Fernandez
77a8601aa3
fix: hide useless warning (#4587)
Some checks failed
Release a tag / release (push) Has been cancelled
2024-03-28 19:39:06 +01:00
Ludovic Fernandez
87a35e63a9
dev: organize golinters package (#4578) 2024-03-26 20:55:39 +01:00
Ludovic Fernandez
66ec75e75f
fix: display warnings on deprecated linter options (#4568) 2024-03-24 17:09:42 +01:00
golangci-releaser
e35fa39729
docs: update documentation assets (#4545)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-03-20 01:05:17 +01:00
Ludovic Fernandez
ddc703dd93
fix: disable temporarily httpresponse from govet (#4528)
Some checks failed
Release a tag / release (push) Has been cancelled
2024-03-19 23:57:15 +01:00
Ludovic Fernandez
eaafdf3623
feat: add verify command (#4527) 2024-03-19 21:35:21 +01:00
Oleksandr Redko
6709c974a4
dev: refactor .golangci.yml configuration and fix up nolintlint issues (#4537) 2024-03-19 16:38:59 +01:00
Fernandez Ludovic
225bf17072 dev: fix exclude-rules text 2024-03-19 14:42:45 +01:00
Ludovic Fernandez
3dbe882839
govet: add a warning about the deprecation of check-shadowing (#4535) 2024-03-19 14:27:02 +01:00
Ludovic Fernandez
4b7a55a79d
feat: replace run.skip-xxx options by issues.exclude-xxx options (#4509) 2024-03-16 17:07:42 +01:00
Ludovic Fernandez
167204c1fd
feat: new custom linters system (#4437) 2024-03-11 17:40:26 +01:00
Ludovic Fernandez
c0f89fbbe4
docs: add explanation about the configuration inside repo (#4466) 2024-03-07 20:19:44 +01:00
Ludovic Fernandez
8f2459bf0e
fix: move show-stats field from run to output (#4439) 2024-03-04 14:15:41 +01:00
Ludovic Fernandez
8c51979ec8
dev: clean up Executor (#4404) 2024-02-23 20:38:42 +01:00
Ludovic Fernandez
bf5008a11a
dev: handle old TODO (#4374) 2024-02-10 14:43:58 +01:00
Oleksandr Redko
cc3e67b3bd
dev: fix govet.nilness lint issues (#4373)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-10 02:23:29 +01:00
Oleksandr Redko
85fb5a2493
dev: enable errorlint linter (#4292) 2024-01-02 15:33:00 +01:00
dependabot[bot]
790c1632ce
build(deps): bump github.com/go-critic/go-critic from 0.9.0 to 0.10.0 (#4249)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-12-10 16:05:24 +01:00
Oleksandr Redko
be034aa9af
dev: enable gocheckcompilerdirectives linter (#4114) 2023-10-05 14:21:43 +02:00
golangci-releaser
a73cda1eef
docs: Update documentation and assets (#4035)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-08-21 16:47:44 +02:00
Ludovic Fernandez
e0a8bd8543
go1.21 support (#3922) 2023-08-09 12:09:20 +02:00
Ludovic Fernandez
fb746c4b04
depguard: migrate to v2 (#3795) 2023-04-23 17:56:47 +02:00
Oleksandr Redko
1948081d84
dev: remove unused ctx parameter from Printer (#3761) 2023-04-16 18:18:53 +02:00
Oleksandr Redko
bbc2f34dec
dev: add gofmt rewrite rule to ensure 'any' is always used (#3780) 2023-04-15 12:14:50 +02:00
Ludovic Fernandez
00d17cc8d1
output: add colored-tab (#3729) 2023-04-04 01:57:22 +02:00
Oleksandr Redko
5d34936686
dev: enable revive linter with default config (#3622) 2023-04-02 16:21:03 +02:00
Ludovic Fernandez
7beb2fb734
staticcheck: bump to v0.4.0 (#3551) 2023-02-03 15:41:37 +01:00
Ludovic Fernandez
f072d55e6d
dev: add doc about internal package extracted from Go (#3204) 2022-09-12 09:19:06 +02:00
Ludovic Fernandez
39f401ba3c
dev: review and clean linter tests (#3139) 2022-09-01 18:26:28 +02:00
Ludovic Fernandez
37d3aa437a
feat: deprecate varcheck, deadcode, and structcheck (#3125) 2022-08-21 21:37:47 +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
Ludovic Fernandez
7fdb723b16
docs: remove allow-leading-space option (#3072) 2022-08-12 16:22:28 +02:00
Ludovic Fernandez
f8f8f9a6e7
nolint: drop allow-leading-space option and add "nolint:all" (#3002) 2022-08-01 14:21:04 +02:00
Cory Miller
ae2a968805
depguard: adjust phrasing (#2921) 2022-06-15 02:40:19 +02:00
Ludovic Fernandez
4b218e664c
config: spread go version on linter's configurations (#2913) 2022-06-13 09:01:05 +02:00
Ludovic Fernandez
bffc8cefe2
dev: remove some TODO (#2743)
* chore: use go1.18 to test the previous version of golangci-lint
* chore: update gomnd configuration
2022-04-03 18:49:27 +02:00
Ludovic Fernandez
7bbbe77e5e
feat: automatic Go version detection (#2669)
Some checks failed
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
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
Ludovic Fernandez
c84de88229
docs: split configuration page into multiple sections (#2484) 2022-01-20 01:20:51 +01:00
Ludovic Fernandez
1685402de9
gomnd: new configuration (#2498) 2022-01-19 12:46: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
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]
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
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