mirror of https://github.com/etcd-io/bbolt.git
chore: setup golangci-lint config file
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>pull/913/head
parent
0f8947f683
commit
47910f18f8
|
@ -0,0 +1,4 @@
|
|||
# ensure that line endings for Windows builds are properly formatted
|
||||
# see https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#how-to-use
|
||||
# at "Multiple OS Example" section
|
||||
*.go text eol=lf
|
|
@ -0,0 +1,16 @@
|
|||
issues:
|
||||
max-same-issues: 0
|
||||
linters:
|
||||
disable-all: true
|
||||
enable: # please keep this alphabetized
|
||||
- errcheck
|
||||
- gofmt
|
||||
- goimports
|
||||
- gosimple
|
||||
- govet
|
||||
- ineffassign
|
||||
- staticcheck
|
||||
- unused
|
||||
linters-settings: # please keep this alphabetized
|
||||
goimports:
|
||||
local-prefixes: go.etcd.io # Put imports beginning with prefix after 3rd-party packages.
|
Loading…
Reference in New Issue