We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d80c69 commit 7f87385Copy full SHA for 7f87385
.golangci.yml
@@ -0,0 +1,39 @@
1
+run:
2
+ timeout: 2m
3
+
4
+linters:
5
+ enable:
6
+ # enabled by default
7
+ # https://golangci-lint.run/usage/linters/
8
+ - govet
9
+ - errcheck
10
+ - staticcheck
11
+ - unused
12
+ - gosimple
13
+ - structcheck
14
+ - varcheck
15
+ - ineffassign
16
+ - deadcode
17
+ - typecheck
18
+ # project additions
19
+ # keep this list alphabetically sorted
20
+ - bodyclose
21
+ - goconst
22
+ # - gofmt -- goimports contains this
23
+ - goimports
24
+ - gosec
25
+ - misspell
26
+ - nakedret
27
+ - nolintlint
28
+ - prealloc
29
+ - unconvert
30
31
+linters-settings:
32
+ gofmt:
33
+ simplify: true
34
+ goimports:
35
+ local-prefixes: github.com/xen0n/go-workwx
36
+ misspell:
37
+ locale: US
38
+ nakedret:
39
+ max-func-lines: 1
0 commit comments