adds initial implementation for macro #120
Annotations
7 errors
tests:
pkg/cli/macro.go#L25
sloppyReassign: re-assignment to `err` can be replaced with `err := yaml.Unmarshal(data, &cfg)` (gocritic)
|
tests:
pkg/cli/cli.go#L87
expressions should not be cuddled with blocks (wsl)
|
tests:
pkg/cli/commands.go#L73
return statements should not be cuddled if block has more than two lines (wsl)
|
tests:
pkg/cli/macro.go#L43
branch statements should not be cuddled if block has more than two lines (wsl)
|
tests:
pkg/cli/macro.go#L36
ranges should only be cuddled with assignments used in the iteration (wsl)
|
tests:
pkg/cli/macro.go#L34
ranges should only be cuddled with assignments used in the iteration (wsl)
|
tests
issues found
|