forked from p2pderivatives/cfd-go
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.golangci.yml
45 lines (43 loc) · 1.23 KB
/
.golangci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
service:
golangci-lint-version: 1.55.2
run:
deadline: 30m
skip-dirs:
- cover
- external
modules-download-mode: readonly
issues:
exclude-use-default: false
exclude-rules:
# swig関連の指摘
- path: cfdgo\.go
text: 'S1021:'
- path: cfdgo\.go
text: '`_swig_memberptr` is unused'
- path: cfdgo\.go
text: '`_swig_fnptr` is unused'
- path: cfdgo_api\.go
source: 'defer CfdGoFreeHandle'
- path: cfdgo_api\.go
source: 'defer CfdGoFreeMultisigSignHandle'
- path: cfdgo_api\.go
source: 'defer CfdGoFreeScriptTreeHandle'
- path: cfdgo_api\.go
source: 'defer CfdGoFreeTxDataHandle'
- path: _test\.go
text: 'Error return value of `config.SetCfdConfig` is not checked'
- path: _test\.go
text: 'Error return value of `cfd.CfdGoFreeBlindHandle` is not checked'
- path: _test\.go
text: 'Error return value of `tree.AddBranchByHash` is not checked'
- linters:
- errcheck
text: 'Error return value of `cfdgo.CfdGoFreeTxDataHandle` is not checked'
- path: transaction\.go
text: 'Error return value of `cfd.CfdGoFreeTxDataHandle` is not checked'
linters:
enable:
- exportloopref
- goimports
disable:
- structcheck