livebud/bud

generated app directory fails linting with golangci-lint

オープン

#331 opened on 2022/11/27

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (211 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (5,391 個のスター)
PR merge metrics
 (30d に merged 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.)

コントリビューターガイド