Skip to content

Commit

Permalink
feat(linters): Add gochecknoinits linter
Browse files Browse the repository at this point in the history
Added the gochecknoinits linter to the list of linters in the .golangci.yml file. This linter helps to detect and prevent the use of init functions in Go code.

Signed-off-by: Rodney Osodo <[email protected]>
  • Loading branch information
rodneyosodo committed Nov 3, 2023
1 parent 6b244c1 commit 725113a
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
Expand Up @@ -10,6 +10,7 @@ linters:
- nosnakecase
- ifshort
- gocognit
- gochecknoinits

linters-settings:
goheader:
Expand Down

0 comments on commit 725113a

Please sign in to comment.