2017-12-07 23:48:51 +00:00
|
|
|
ratings:
|
|
|
|
paths:
|
|
|
|
- "**/*.go"
|
|
|
|
|
2017-12-08 15:47:15 +00:00
|
|
|
checks:
|
|
|
|
file-lines:
|
|
|
|
config:
|
|
|
|
threshold: 500
|
|
|
|
method-complexity:
|
|
|
|
config:
|
2018-01-12 17:04:46 +00:00
|
|
|
threshold: 12
|
2017-12-08 15:57:44 +00:00
|
|
|
method-lines:
|
|
|
|
config:
|
2018-01-17 12:40:49 +00:00
|
|
|
threshold: 80
|
2017-12-08 15:47:15 +00:00
|
|
|
similar-code:
|
|
|
|
enabled: false
|
2018-01-17 12:40:49 +00:00
|
|
|
return-statements:
|
|
|
|
config:
|
|
|
|
threshold: 10
|
2017-12-08 15:47:15 +00:00
|
|
|
|
2017-12-07 23:48:51 +00:00
|
|
|
engines:
|
|
|
|
fixme:
|
|
|
|
enabled: true
|
|
|
|
config:
|
|
|
|
strings:
|
|
|
|
- FIXME
|
|
|
|
- HACK
|
|
|
|
- XXX
|
|
|
|
- BUG
|
|
|
|
golint:
|
|
|
|
enabled: true
|
|
|
|
govet:
|
|
|
|
enabled: true
|
|
|
|
gofmt:
|
|
|
|
enabled: true
|