mirror of
https://github.com/inspec/inspec
synced 2024-11-30 16:39:20 +00:00
b1c2af209b
Signed-off-by: Ryan Davis <zenspider@chef.io>
31 lines
684 B
YAML
31 lines
684 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
|
|
markdownlint:
|
|
enabled: true
|
|
exclude_patterns:
|
|
- "www/source/javascripts/"
|
|
- "examples/"
|
|
- "test/fixtures/profiles/"
|
|
- "test/kitchen"
|