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:
|
2021-04-22 12:55:35 +02:00
|
|
|
- "documentation/**/images/"
|
|
|
|
- "cfg/id_rsa.enc"
|
|
|
|
- "**/testdata/**"
|
2018-10-25 10:39:08 +02:00
|
|
|
fixme:
|
|
|
|
enabled: true
|
|
|
|
config:
|
|
|
|
strings:
|
2021-04-22 12:55:35 +02:00
|
|
|
- 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
|
2020-11-16 18:50:31 +02:00
|
|
|
# https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md024
|
|
|
|
MD024:
|
|
|
|
enabled: false
|
2020-11-17 10:20:47 +02:00
|
|
|
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md033---inline-html
|
|
|
|
MD033:
|
2020-11-16 18:50:31 +02:00
|
|
|
enabled: false
|
|
|
|
# https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md036
|
|
|
|
MD036:
|
|
|
|
enabled: false
|
2020-11-17 10:20:47 +02:00
|
|
|
# https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md041
|
|
|
|
MD041:
|
2020-11-16 18:50:31 +02:00
|
|
|
enabled: false
|
2020-11-17 10:20:47 +02:00
|
|
|
# TODO: fix in separate PR
|
|
|
|
# https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md004
|
|
|
|
MD004:
|
2020-11-16 18:50:31 +02:00
|
|
|
enabled: false
|
|
|
|
# https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md040
|
|
|
|
MD040:
|
|
|
|
enabled: false
|
|
|
|
# https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md046
|
|
|
|
MD046:
|
|
|
|
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"
|
2020-11-17 09:23:39 +02:00
|
|
|
- "**/mocks/*.go"
|
2020-02-25 14:42:47 +02:00
|
|
|
# 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/"
|