Skip to content

Instantly share code, notes, and snippets.

@0xff00ff
Created December 3, 2019 15:59
Show Gist options
  • Save 0xff00ff/3f317e2bfd5b96e01ecba486620ef438 to your computer and use it in GitHub Desktop.
Save 0xff00ff/3f317e2bfd5b96e01ecba486620ef438 to your computer and use it in GitHub Desktop.
linters-settings:
govet:
check-shadowing: true
golint:
min-confidence: 0
gocyclo:
min-complexity: 25
maligned:
suggest-new: true
dupl:
threshold: 200
goconst:
min-len: 2
min-occurrences: 2
run:
modules-download-mode: vendor
skip-dirs:
- dbschema
linters:
enable:
- dogsled
- dupl
- funlen
- goimports
- goconst
- gocritic
- gochecknoinits
- gochecknoglobals
- gofmt
- gosec
- lll
- misspell
- maligned
- nakedret
- prealloc
- interfacer
- scopelint
- stylecheck
- unconvert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment