You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error var _ should have name of the form errFoo (ST1012) and at least one file in a package should have a package comment (ST1000) are emitted by the staticcheck tool.
There is a long quite tedious discussion about the use of "exclude" in staticcheck, but wondering if this is something that could be quite simple to fix?
In the meantime I've added a staticcheck.conf file to the generated output dir, which includes the line checks = ["all", "-ST1012","-ST1000"], but that's less than ideal.
The text was updated successfully, but these errors were encountered:
error var _ should have name of the form errFoo (ST1012)
andat least one file in a package should have a package comment (ST1000)
are emitted by the staticcheck tool.There is a long quite tedious discussion about the use of "exclude" in staticcheck, but wondering if this is something that could be quite simple to fix?
In the meantime I've added a
staticcheck.conf
file to the generated output dir, which includes the linechecks = ["all", "-ST1012","-ST1000"]
, but that's less than ideal.The text was updated successfully, but these errors were encountered: