File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ linters-settings :
2
+ dupl :
3
+ threshold : 100
4
+ gocyclo :
5
+ min-complexity : 15
6
+ lll :
7
+ line-length : 140
8
+ misspell :
9
+ locale : US
10
+
11
+ linters :
12
+ disable-all : true
13
+ enable :
14
+ - deadcode
15
+ - dupl
16
+ - errcheck
17
+ - gocyclo
18
+ - gofmt
19
+ - goimports
20
+ - gosimple
21
+ - govet
22
+ - ineffassign
23
+ - lll
24
+ - misspell
25
+ - nestif
26
+ - staticcheck
27
+ - typecheck
28
+ - unused
29
+ - varcheck
30
+ # not compatible with go 1.18 yet
31
+ # - bodyclose
32
+ # - noctx
33
+ # - structcheck
34
+
35
+ run :
36
+ timeout : 5m
37
+ go : " 1.18"
Original file line number Diff line number Diff line change
1
+ project_name : gotway
2
+ builds :
3
+ - main : ./cmd/bankroach
4
+ binary : gotway
5
+ goos :
6
+ - linux
7
+ goarch :
8
+ - arm64
9
+ - amd64
10
+ env :
11
+ - CGO_ENABLED=0
12
+ archives :
13
+ - name_template : " {{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
You can’t perform that action at this time.
0 commit comments