2017-05-10 08:55:53 +03:00
|
|
|
engines:
|
|
|
|
gofmt:
|
|
|
|
enabled: true
|
|
|
|
golint:
|
|
|
|
enabled: true
|
2017-05-10 20:12:20 +03:00
|
|
|
govet:
|
2017-05-10 08:55:53 +03:00
|
|
|
enabled: true
|
2017-10-12 12:35:47 +03:00
|
|
|
shellcheck:
|
|
|
|
enabled: true
|
2017-12-21 07:19:37 +03:00
|
|
|
duplication:
|
|
|
|
enabled: false
|
2017-05-10 08:55:53 +03:00
|
|
|
|
|
|
|
ratings:
|
|
|
|
paths:
|
|
|
|
- "**.go"
|
2017-10-12 12:35:47 +03:00
|
|
|
- "**.sh"
|
2017-05-10 09:18:36 +03:00
|
|
|
|
2017-12-21 07:24:40 +03:00
|
|
|
checks:
|
|
|
|
argument-count:
|
|
|
|
enabled: false
|
|
|
|
complex-logic:
|
|
|
|
enabled: false
|
|
|
|
file-lines:
|
|
|
|
enabled: false
|
|
|
|
method-complexity:
|
|
|
|
enabled: false
|
|
|
|
method-count:
|
|
|
|
enabled: false
|
|
|
|
method-lines:
|
|
|
|
enabled: false
|
|
|
|
nested-control-flow:
|
|
|
|
enabled: false
|
|
|
|
return-statements:
|
|
|
|
enabled: false
|
|
|
|
similar-code:
|
|
|
|
enabled: false
|
|
|
|
identical-code:
|
|
|
|
enabled: false
|
|
|
|
|
2017-05-10 09:18:36 +03:00
|
|
|
# Ignore generated code.
|
|
|
|
exclude_paths:
|
|
|
|
- "go/vt/proto/"
|
|
|
|
- "go/vt/sqlparser/sql.go"
|
2017-12-06 00:53:36 +03:00
|
|
|
- "py/util/grpc_with_metadata.py"
|