Skip to content

Commit

Permalink
Tweak golangci-lint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Sep 24, 2020
1 parent 7187c26 commit a23351f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ linters:
- gci
- gocritic
- godot
- goerr113
- gofmt
- gofumpt
- goimports
Expand Down Expand Up @@ -46,7 +47,6 @@ linters:
- goconst
- gocyclo
- godox
- goerr113
- gomnd
- lll
- maligned
Expand All @@ -61,9 +61,14 @@ linters-settings:
extra-rules: true
goimports:
local-prefixes: github.com/twpayne/chezmoi
misspell:
locale: US

issues:
exclude-rules:
- linters:
- goerr113
text: "do not define dynamic errors, use wrapped static errors instead"
- linters:
- dupl
path: "secretgopass.go"
Expand Down

0 comments on commit a23351f

Please sign in to comment.