ci: add linter and auto-labeler action #5
Annotations
7 errors and 1 warning
cmd/tlin/main_test.go#L323
test helper function should start from t.Helper() (thelper)
|
internal/fixer/fixer.go#L28
ST1016: methods on the same type should have the same receiver name (seen 1x "c", 2x "f") (stylecheck)
|
internal/lints/cyclomatic_complexity.go#L32
unnecessary leading newline (whitespace)
|
internal/lints/default_golangci.go#L52
Consider pre-allocating `issues` (prealloc)
|
internal/lints/detect_cycles.go#L15
Consider pre-allocating `issues` (prealloc)
|
internal/lints/simplify_slice_expr.go#L20
string `len` has 3 occurrences, make it a constant (goconst)
|
|
|
This job failed
Loading