dev: use goprintffuncname, gomnd and rowserrcheck (#927)

Order linters in config in alphabetical order.
Support gomnd configuration.
This commit is contained in:
Isaev Denis 2020-01-19 19:55:29 +03:00 committed by GitHub
parent 88b6c25075
commit 6237e59c97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 321 additions and 277 deletions

View file

@ -9,6 +9,7 @@ import (
"github.com/pkg/errors"
)
//nolint:gomnd
func ParseErrorPosition(pos string) (*token.Position, error) {
// file:line(<optional>:colon)
parts := strings.Split(pos, ":")