chore(lint): add various nolint directives, where appropriate

This commit is contained in:
Christian Rocha
2023-07-07 11:34:57 -04:00
parent b639c9bab2
commit ffad6555d5
2 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ import (
// return tea.Batch(someCommand, someOtherCommand)
// }
func Batch(cmds ...Cmd) Cmd {
var validCmds []Cmd
var validCmds []Cmd //nolint:prealloc
for _, c := range cmds {
if c == nil {
continue