Skip to content

Commit

Permalink
ci: Enable stylecheck linter
Browse files Browse the repository at this point in the history
The stylecheck linter checks for STxxxx checks (see Link for details) which
includes some best-practices for error message. Enable the linter.

Link: https://staticcheck.io/docs/configuration/options/#checks
Signed-off-by: Christopher Obbard <[email protected]>
  • Loading branch information
obbardc committed Jul 22, 2023
1 parent 0b1f3b8 commit 093c274
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
linters:
enable:
- gofmt
- stylecheck
- whitespace

0 comments on commit 093c274

Please sign in to comment.