lint: golangci: init #1
Annotations
7 errors
lint (1.x, ubuntu-latest):
strip.go#L96
File is not `gofmt`-ed with `-s` (gofmt)
|
lint (1.x, ubuntu-latest):
strip.go#L1940
`eatWhiteSpace` - `i` always receives `0` (unparam)
|
lint (1.x, ubuntu-latest):
strip.go#L1224
S1003: should use bytes.ContainsAny(s[written:i1], "\n\r\u2028\u2029") instead (gosimple)
|
lint (1.x, ubuntu-latest):
strip.go#L1611
S1003: should use bytes.ContainsAny(s, "#?") instead (gosimple)
|
lint (1.x, ubuntu-latest):
strip.go#L2698
S1003: should use bytes.Contains(id, expressionBytes) instead (gosimple)
|
lint (1.x, ubuntu-latest):
strip.go#L3627
S1003: should use !strings.ContainsRune(s[:i], '/') instead (gosimple)
|
lint (1.x, ubuntu-latest)
issues found
|