Skip to content

Commit

Permalink
golang ci config yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
artpar committed Feb 26, 2020
1 parent 266a8b1 commit 80050cb
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# golangci-lint configuration options

linters:
enable:
- deadcode
- errcheck
- goimports
- golint
- ineffassign
- structcheck
- varcheck
- govet
- unconvert
#- prealloc
#- maligned
disable-all: true

issues:
# Enable some lints excluded by default
exclude-use-default: false

# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
max-per-linter: 0

# Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
max-same-issues: 0

0 comments on commit 80050cb

Please sign in to comment.