Skip to content

Commit

Permalink
Lint examples directory with golangci-lint
Browse files Browse the repository at this point in the history
Use new option in golangci-lint `exclude-use-default` so we can
lint our examples and main code at the same time.
  • Loading branch information
Sean-Der committed Nov 23, 2019
1 parent 6091be7 commit 4da5e8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ linters:

issues:
exclude-use-default: false
max-per-linter: 0
max-same-issues: 50

exclude-rules:
- path: internal/crypto/ccm
Expand All @@ -28,3 +26,6 @@ issues:
text: "don't use ALL_CAPS in Go names; use CamelCase"
linters:
- golint

run:
skip-dirs-use-default: false

0 comments on commit 4da5e8c

Please sign in to comment.