Skip to content

Commit

Permalink
Merge branch 'main' into adam/errmsg
Browse files Browse the repository at this point in the history
  • Loading branch information
toteki authored Jun 8, 2022
2 parents 21fadbb + 01a5f22 commit 33ac25d
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ run:
- tests/e2e
- tests/simulation

govet:
# Enable analyzers by name (in addition to default).
# Run `go tool vet help` to see all analyzers.
# Default: []
enable:
- fieldalignment

linters:
enable:
- bodyclose
Expand All @@ -15,17 +22,16 @@ linters:
- gocritic
- gofmt
- goimports
- golint
- revive
- gosec
- gosimple
- govet
- ineffassign
- lll
- misspell
- maligned
- nakedret
- prealloc
- scopelint
- exportloopref
- staticcheck
- structcheck
- stylecheck
Expand Down Expand Up @@ -54,8 +60,11 @@ linters-settings:
max-blank-identifiers: 3
golint:
min-confidence: 0
maligned:
suggest-new: true
revive:
# Sets the default failure confidence.
# This means that linting errors with less than 0.8 confidence will be ignored.
# Default: 0.8
confidence: 0
misspell:
locale: US
nolintlint:
Expand Down

0 comments on commit 33ac25d

Please sign in to comment.