Skip to content

Golangci-lint Incompatibility with newer versions of Go? #663

Closed
@jwebster7

Description

@jwebster7

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions