We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 526ef1e + 47910f1 commit 64b4268Copy full SHA for 64b4268
.gitattributes
@@ -0,0 +1,4 @@
1
+# ensure that line endings for Windows builds are properly formatted
2
+# see https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#how-to-use
3
+# at "Multiple OS Example" section
4
+*.go text eol=lf
.golangci.yaml
@@ -0,0 +1,16 @@
+issues:
+ max-same-issues: 0
+linters:
+ disable-all: true
5
+ enable: # please keep this alphabetized
6
+ - errcheck
7
+ - gofmt
8
+ - goimports
9
+ - gosimple
10
+ - govet
11
+ - ineffassign
12
+ - staticcheck
13
+ - unused
14
+linters-settings: # please keep this alphabetized
15
+ goimports:
16
+ local-prefixes: go.etcd.io # Put imports beginning with prefix after 3rd-party packages.
0 commit comments