-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Welcome
- Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported.
- Yes, I've searched similar issues on GitHub and didn't find any.
- Yes, I've included all information below (version, config, etc).
- Yes, I've tried with the standalone linter if available. (https://golangci-lint.run/usage/linters/)
Description of the problem
In mvdan/gofumpt@6333469, a gofumpt rule was deleted. This change is published within the newest release v0.3.0 of gofumpt. The latest release of golangci-lint still uses gofumpt in version v0.2.1, which leads to a conflict. If I format my code with recent version of gofumpt, gloangci-lint will throw an error when running the gofumpt linter. The used version of gofumpt was already bumped in 5ffadac, it would be really nice to see a release with this change soon.
Version of golangci-lint
Details
$ golangci-lint --version
golangci-lint has version 1.44.2 built from d58dbde5 on 2022-02-17T20:58:06ZConfiguration file
Details
$ cat .golangci.yml
cat: .golangci.yml: No such file or directoryGo environment
Details
$ go version && go env
go version go1.17.1 linux/amd64Verbose output of running
Details
$ gofumpt -l .
$ golangci-lint run ./... --disable-all --enable gofumpt
xxx.go gofumpt File is not `gofumpt`-edCode example or link to a public repository
Details
type foo interface {
a() error
b() error
}Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working