mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
dev: use goprintffuncname, gomnd and rowserrcheck (#927)
Order linters in config in alphabetical order. Support gomnd configuration.
This commit is contained in:
parent
88b6c25075
commit
6237e59c97
18 changed files with 321 additions and 277 deletions
|
@ -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, ":")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue