File tree 2 files changed +65
-0
lines changed
2 files changed +65
-0
lines changed Original file line number Diff line number Diff line change
1
+ run :
2
+ go : " 1.19"
3
+ concurrency : 16
4
+ timeout : 5m
5
+ issues-exit-code : 1
6
+ tests : true
7
+ build-tags : []
8
+ skip-files :
9
+ - .*.pb.go
10
+ output :
11
+ format : colored-line-number
12
+ print-issued-lines : true
13
+ print-linter-name : true
14
+ linters-settings :
15
+ tagliatelle :
16
+ case :
17
+ rules :
18
+ json : snake
19
+ yaml : snake
20
+ linters :
21
+ enable :
22
+ - errcheck
23
+ - goconst
24
+ - revive
25
+ - ineffassign
26
+ - misspell
27
+ - unconvert
28
+ - govet
29
+ - typecheck
30
+ - depguard
31
+ - exportloopref
32
+ - gofumpt
33
+ - goimports
34
+ - gocritic
35
+ - gci
36
+ # - gocognit FIXME
37
+ - gosimple
38
+ - staticcheck
39
+ - tagliatelle
40
+ - unused
41
+ - gosec
42
+ disable :
43
+ - unparam
44
+
45
+ issues :
46
+ fix : true
Original file line number Diff line number Diff line change
1
+ repos :
2
+ -
repo :
[email protected] :ankorstore/pre-commit.git
3
+ rev : 6fec5a5b8ea7840ec5e0db16e2190c4021be0b64
4
+ hooks :
5
+ - id : required
6
+
7
+ - repo : local
8
+ hooks :
9
+ - id : go-test
10
+ name : go test
11
+ language : system
12
+ entry : make test
13
+ pass_filenames : false
14
+ - id : golangci-lint
15
+ name : golangci-lint
16
+ entry : make lint
17
+ types : [go]
18
+ language : golang
19
+ pass_filenames : false
You can’t perform that action at this time.
0 commit comments