103 Commits

Author SHA1 Message Date
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
Ludovic Fernandez
505ed3c0f7
doc: Un-deprecate enable-all option. (#2039) 2021-06-02 17:04:48 +02:00
dependabot[bot]
fe0db3db21
build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.3.2 to 2.4.0 (#2024) 2021-05-31 10:00:41 +02:00
Ludovic Fernandez
f95b1ed39f
golint: deprecation (#1965) 2021-05-11 00:50:50 +02:00
Ludovic Fernandez
5d10450bc9
dev: clean configuration, documentation, and code (#1911)
* Remove dead code related to golangci.com
* remove old build tags
* stale bot: remove bug label from `exemptLabels`
* order `gitignore` entries alphabetically
* doc: order `linters-settings` alphabetically
* remove obsolete exclude rule
* release: add docs prefix to skip the commit in the changelog
2021-04-14 12:48:48 +02:00
Ludovic Fernandez
2ebc9d7202
dev: clean configuration and code (#1830) 2021-03-09 19:46:18 +01:00
Ludovic Fernandez
fce3949d5b
Deprecate 'scopelint' linter (#1819)
* Deprecate scopelint linter

* clean code base.
2021-03-09 10:19:22 -08:00
Ludovic Fernandez
2e7c389deb
Update staticcheck to v0.1.2 (2020.2.2) (#1756) 2021-02-21 16:27:32 +01:00
Sergey Vilgelm
251b205f54
Deprecate Interfacer linter (#1755) 2021-02-20 18:55:11 -06:00
Sebastian Spaink
35b6f35476
Add "revive" linter (#1729) 2021-02-14 14:36:37 +01:00
dependabot[bot]
122193999a
build(deps): bump github.com/kulti/thelper from 0.1.0 to 0.2.0 (#1630) 2021-01-05 05:09:01 +01:00
nishanths
58234f055c
update exhaustive to latest; use version in go.mod (#1449)
* update exhaustive to latest

* wip

* update dep

* update flag name

* use versioned dep

* add tests

* unused file

* no need config file

* add vars to test

* test comment

* remove default settings
2020-10-14 08:19:06 +02:00