-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
54 lines (47 loc) · 1.57 KB
/
.codeclimate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# .codeclimate.yml
version: "2"
# --------------------------------------------------------------------------
# prepare: Actions to perform before analysis begins
# fetch: Remote files to fetch (files placed relative to the repo's root dir)
# url: url to fetch
# path: destination relative to repo's root directory
# --------------------------------------------------------------------------
# checks: Configuration of maintainability checks
# <name>
# enabled: true|false
# config: check configuration
# --------------------------------------------------------------------------
# plugins: Enable optional engines to run in addition to your analysis
# <name>
# enabled: true|false
# channel: alternate channel to use (stable is default)
# config: plugin configuration
plugins:
# A tool designed to check markdown files and flag style issues
markdownlint:
enabled: true
checks:
# IGNORE LINE LENGTH
MD013:
enabled: false
# A tool for suggesting possible improvements to bash/sh shell scripts
shellcheck:
enabled: true
# Official style checker from the Go team
gofmt:
enabled: true
# Lints
golint:
enabled: true
config:
min_confidence: 0.9
# Examines source code to identify suspicious constructs and potential bugs
govet:
enabled: true
# --------------------------------------------------------------------------
# exclude_patterns: Exclude files and/or directories from analysis
# - <pattern>
# - <pattern>
exclude_patterns:
- "docs/"
- "**/*_test.go" # exclude the unit testing code