livebud/bud

generated app directory fails linting with golangci-lint

開放

#331 建立於 2022年11月27日

 (1 則留言) (0 個反應) (0 位負責人)JavaScript (211 個分叉)batch import
help wanted

倉庫指標

星標
 (5,391 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

golangci-lint run --fix
bud/internal/app/main.go:74:19: Error return value of `budClient.Publish` is not checked (errcheck)
	budClient.Publish("app:ready", nil)

As part of CI I run a linting of my repository. I suggest adding the line //nolint at the top of the template for bud/internal/app/main.go, as well as any other bud-managed template boilerplate files. This way any linters people use will ignore these files (without having to do special configuration to exclude the bud directory like is already automagically done in the .gitignore.)

貢獻者指南