golangci-lint icon indicating copy to clipboard operation
golangci-lint copied to clipboard

Fast linters runner for Go

Results 227 golangci-lint issues
Sort by recently updated
recently updated
newest added

### Your feature request related to a problem? Please describe. The program always returns non-zero when there are findings of _any_ severity level. It almost makes severity levels pointless if...

enhancement

Bumps [github.com/go-critic/go-critic](https://github.com/go-critic/go-critic) from 0.6.3 to 0.6.4. Release notes Sourced from github.com/go-critic/go-critic's releases. v0.6.4 Updated ruleguard and x/tools all: use cristalhq/acmd #1198 checkers: add time range expr simplify (go-critic/go-critic#1220) ci: add...

dependencies
blocked
go

https://github.com/timonwong/logrlint logrlint is a linter for [go-logr/logr](https://github.com/go-logr/logr), which lint the number of key value pairs (should be even). Though I'm not sure whether it's good to add a very specific...

linter: new

**Since the version v1.45.0 golangci-lint supports go1.18.** But some linters don't work with generics, golangci-lint disable those linters automatically with go1.18. Since v1.45.1, golangci-lint can detect the Go version used...

enhancement

In Go, `//go:*` is reserved for the Go toolchain. See https://golang.org/cmd/compile/. It is encouraged that other Go tools use a similar "namespace" prefix for their comment directives. For example, `//gccgo:*`,...

enhancement
area: nolint

### Welcome - [X] Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported. - [X] Yes, I've searched similar issues on GitHub and...

bug

Megacheck, unused and gosimple had been deprecated in favor of staticcheck. https://github.com/dominikh/go-tools/tree/master/cmd/gosimple https://github.com/dominikh/go-tools/tree/master/cmd/megacheck https://github.com/dominikh/go-tools/tree/master/cmd/unused So I think it makes sense that we remove them in golangci-lint and go through staticcheck...

topic: cleanup
dependencies
pinned

### Welcome - [X] Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported. - [X] Yes, I've searched similar issues on GitHub and...

bug

### Welcome - [X] Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported. - [X] Yes, I've searched similar issues on GitHub and...

bug
dependencies

Related to https://github.com/golangci/golangci-lint/issues/3080 .golangci.yml ``` linters-settings: custom: example: path: ./example.so linters: enable-all: true ``` Custom linters work for `enable-all`.

enhancement
blocked