inspec/.codeclimate.yml
Miah Johnson c2fc429291 enable reek and shellcheck
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-12-03 19:09:01 -08:00

35 lines
742 B
YAML

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"