forked from inspec/inspec
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.codeclimate.yml
More file actions
35 lines (35 loc) · 742 Bytes
/
.codeclimate.yml
File metadata and controls
35 lines (35 loc) · 742 Bytes
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
version: "2"
checks:
method-lines:
config:
threshold: 40
file-lines:
enabled: false
identical-code:
config:
threshold: 40 # Unfortunately, we have a lot of duplicate code in places like lib/inspec/control_eval_context.rb
method-complexity: # 'Cognitive Complexity' in the UI
config:
threshold: 10 # 5 Default 5 is really tight
plugins:
fixme:
enabled: true
config:
strings:
- TODO
- rubocop:disable
flog:
enabled: true
config:
score_threshold: 30
reek:
enabled: true
markdownlint:
enabled: true
shellcheck:
enabled: true
exclude_patterns:
- "www/source/javascripts/"
- "examples/"
- "test/fixtures/profiles/"
- "test/kitchen"