Closed
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
golangci/golangci-lint crit unable to find 'latest' - use 'latest' or see https://github.com/golangci/golangci-lint/releases for details
Somewhat similar: #923
Version of golangci-lint
latest
: https://github.com/red-hat-storage/mcg-osd-deployer/pull/59/files
Configuration file
run:
concurrency: 8
go: "1.17"
output:
sort-results: true
format: tab
issues:
exclude-rules:
- linters:
- lll
source: "^//.kubebuilder:.*"
- linters:
- varnamelen
text: "variable name 'r'"
- linters:
- gosec
text: "G101: "
- linters:
- gomoddirectives
text: "replacement"
fix: true
linters-settings:
lll:
line-length: 120
gci:
no-inline-comments: true
no-prefix-comments: true
linters:
enable:
- asciicheck
- bidichk
- bodyclose
- deadcode
- depguard
- dogsled
- dupl
- durationcheck
- errcheck
- errname
- errorlint
- exhaustive
- exportloopref
- forbidigo
- forcetypeassert
- gocognit
- goconst
- gocritic
- gocyclo
- godot
- godox
- gofmt
- gofumpt
- goheader
- goimports
- gomoddirectives
- gomodguard
- goprintffuncname
- gosec
- gosimple
- govet
- ifshort
- importas
- ineffassign
- ireturn
- lll
- makezero
- misspell
- nakedret
- nestif
- nilerr
- nilnil
- nlreturn
- noctx
- nolintlint
- prealloc
- predeclared
- promlinter
- revive
- rowserrcheck
- sqlclosecheck
- staticcheck
- structcheck
- stylecheck
- tenv
- thelper
- tparallel
- unconvert
- unparam
- unused
- varcheck
- varnamelen
- wastedassign
- whitespace
- wrapcheck
Go environment
Verbose output of running
N/A
(LMK if needed and I'll log this from the CI)