Skip to content

Commit

Permalink
Add go linter configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
cudevmaxwell committed Apr 8, 2021
1 parent 54b4a1d commit 093a568
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
linters:
enable:
- bodyclose
- durationcheck
- errorlint
- exhaustive
- gochecknoglobals
- goconst
- gocritic
- godot
- goerr113
- goimports
- gosec
- misspell
- nilerr
- noctx
- rowserrcheck
- sqlclosecheck
- unparam
- wastedassign
- whitespace
- wsl
linters-settings:
godot:
scope: all
capital: true
issues:
fix: true

0 comments on commit 093a568

Please sign in to comment.