github.com/xgoffin/jenkins-library@v1.154.0/.codeclimate.yml (about) 1 version: "2" 2 checks: 3 return-statements: 4 enabled: false 5 plugins: 6 codenarc: 7 enabled: true 8 checks: 9 BooleanGetBoolean: 10 enabled: false 11 editorconfig: 12 enabled: true 13 config: 14 editorconfig: .editorconfig 15 # https://docs.codeclimate.com/docs/advanced-configuration#section-exclude-patterns 16 exclude_patterns: 17 - "documentation/**/images/" 18 - "cfg/id_rsa.enc" 19 - "**/testdata/**" 20 fixme: 21 enabled: true 22 config: 23 strings: 24 - TODO 25 - FIXME 26 gofmt: 27 enabled: true 28 golint: 29 enabled: true 30 govet: 31 enabled: true 32 markdownlint: 33 enabled: true 34 checks: 35 # https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md013---line-length 36 MD013: 37 enabled: false 38 # https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md024 39 MD024: 40 enabled: false 41 # https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md033---inline-html 42 MD033: 43 enabled: false 44 # https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md036 45 MD036: 46 enabled: false 47 # https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md041 48 MD041: 49 enabled: false 50 # TODO: fix in separate PR 51 # https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md004 52 MD004: 53 enabled: false 54 # https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md040 55 MD040: 56 enabled: false 57 # https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md046 58 MD046: 59 enabled: false 60 shellcheck: 61 enabled: true 62 exclude_patterns: 63 - "**/*_generated.go" 64 - "**/mocks/*.go" 65 # default excludes are overwritten, add them again 66 # https://docs.codeclimate.com/docs/excluding-files-and-folders#section-auto-generated-file-and-folder-exclusions 67 - "**/*_test.go" 68 - "**/test/"