2019-10-23 14:56:29 +02:00
|
|
|
version: "2"
|
|
|
|
checks:
|
|
|
|
return-statements:
|
|
|
|
enabled: false
|
2018-10-25 10:39:08 +02:00
|
|
|
plugins:
|
|
|
|
codenarc:
|
|
|
|
enabled: true
|
2018-11-08 14:40:13 +02:00
|
|
|
checks:
|
|
|
|
BooleanGetBoolean:
|
|
|
|
enabled: false
|
2018-10-25 10:39:08 +02:00
|
|
|
editorconfig:
|
|
|
|
enabled: true
|
|
|
|
config:
|
|
|
|
editorconfig: .editorconfig
|
2018-11-06 15:04:53 +02:00
|
|
|
# https://docs.codeclimate.com/docs/advanced-configuration#section-exclude-patterns
|
|
|
|
exclude_patterns:
|
2019-01-15 14:32:01 +02:00
|
|
|
- "documentation/**/images/"
|
2018-11-06 15:04:53 +02:00
|
|
|
- "cfg/id_rsa.enc"
|
2020-02-18 16:19:50 +02:00
|
|
|
- "**/testdata/**"
|
2018-10-25 10:39:08 +02:00
|
|
|
fixme:
|
|
|
|
enabled: true
|
|
|
|
config:
|
|
|
|
strings:
|
|
|
|
- TODO
|
|
|
|
- FIXME
|
2019-10-22 15:41:27 +02:00
|
|
|
gofmt:
|
|
|
|
enabled: true
|
|
|
|
golint:
|
|
|
|
enabled: true
|
|
|
|
govet:
|
|
|
|
enabled: true
|
2018-10-25 10:39:08 +02:00
|
|
|
markdownlint:
|
|
|
|
enabled: true
|
2018-12-10 12:43:09 +02:00
|
|
|
checks:
|
|
|
|
# https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md013---line-length
|
|
|
|
MD013:
|
|
|
|
enabled: false
|
2018-10-25 10:39:08 +02:00
|
|
|
shellcheck:
|
|
|
|
enabled: true
|
2020-02-25 14:42:47 +02:00
|
|
|
exclude_patterns:
|
|
|
|
- "**/*_generated.go"
|
|
|
|
# default excludes are overwritten, add them again
|
|
|
|
# https://docs.codeclimate.com/docs/excluding-files-and-folders#section-auto-generated-file-and-folder-exclusions
|
|
|
|
- "**/*_test.go"
|
|
|
|
- "**/test/"
|