Ask questionsGolangci-lint Incompatibility with newer versions of Go?
I'm running version Go v1.13 and GoLangCI-Lint v1.17.1. .golangci.yml: goconfig.txt Go Version: go1.13 darwin/amd64
I'm experiencing some encoding issues when I run GoLangCI-Lint against my code. It looks like the linter is raising issue with the Go standard libraries (strings, fmt, etc.).
*golangci-lint run output main.go:1: /usr/local/go/src/strconv/quote.go:405:12: ValidString not declared by package utf8 (typecheck)
main.go:1: /usr/local/go/src/bytes/reader.go:98:18: DecodeRune not declared by package utf8 (typecheck)
package main pkg/cpu/cpu.go:1: /usr/local/go/src/fmt/scan.go:1200:16: DecodeRuneInString not declared by package utf8 (typecheck)
package ------ pkg/------/------.go:1: /usr/local/go/src/path/match.go:200:15: DecodeRuneInString not declared by package utf8 (typecheck)
Answer
questions
tpounds
@temoto Agreed. I must have incorrectly categorized this when I was traiging the backlog of open issues. I've updated this issue with a more appropriate label.
Related questions