Skip to content

Commit

Permalink
Add config, set baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
ofalvai committed Dec 17, 2024
1 parent e112b6a commit d686299
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
issues:
# Last commit on v1 branch before switching from go-lint to golangci-lint
new-from-rev: a262e052c5940739f52ba764a39bb46ad8275b4e

# https://github.com/golangci/golangci-lint/issues/2439
exclude-use-default: false
exclude-dirs:
- .*/mocks

linters:
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
- revive

linters-settings:
revive:
severity: error
rules:
- name: exported
arguments:
- checkPrivateReceivers

0 comments on commit d686299

Please sign in to comment.