Skip to content

Commit

Permalink
style: add .golangci-lint.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed Jan 13, 2023
1 parent fce9e6b commit 9029edb
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .golangci.yaml
@@ -0,0 +1,25 @@
linters:
enable:
- errorlint
- forbidigo
- gochecknoinits
- gocritic
- goconst
- gocyclo
- gofumpt
- goimports
- misspell
- revive
- unconvert
- unparam
- wastedassign

linters-settings:
gocyclo:
min-complexity: 12
gofumpt:
extra-rules: true
govet:
enable-all: true
disable:
- fieldalignment

0 comments on commit 9029edb

Please sign in to comment.