Skip to content

Commit

Permalink
Add a .golangci.yml config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Peltoche committed Oct 1, 2018
1 parent 71fbbe8 commit f1c1615
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
linters-settings:
govet:
check-shadowing: true
golint:
min-confidence: 0
gocyclo:
min-complexity: 25
maligned:
suggest-new: true
dupl:
threshold: 100
goconst:
min-len: 2
min-occurrences: 2

linters:
enable-all: true
disable:
- maligned
- lll

issues:
exclude:
- G304

0 comments on commit f1c1615

Please sign in to comment.