Skip to content

Commit

Permalink
feat(ci): golangci lint adding thelper, wastedassign and whitespace (#…
Browse files Browse the repository at this point in the history
…1356)

* feat(ci): add thelper

* feat(ci): add wastedassign

* feat(ci): add whitespace
  • Loading branch information
mnagaa authored Nov 17, 2022
1 parent 0daafa0 commit 0079bee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,9 @@ linters:
- gofmt
# gofumpt: Gofumpt checks whether code was gofumpt-ed.
- gofumpt
# thelper detects golang test helpers without t.Helper() call and checks the consistency of test helpers
- thelper
# wastedassign: wastedassign finds wasted assignment statements.
- wastedassign
# whitespace: Tool for detection of leading and trailing whitespace
- whitespace

0 comments on commit 0079bee

Please sign in to comment.