2019-05-08 12:49:08 -07:00
|
|
|
version: "2"
|
|
|
|
checks:
|
2019-07-30 13:49:35 -04:00
|
|
|
method-lines:
|
|
|
|
config:
|
|
|
|
threshold: 40
|
2019-05-08 12:49:08 -07:00
|
|
|
file-lines:
|
|
|
|
enabled: false
|
2019-06-10 14:00:45 -04:00
|
|
|
identical-code:
|
|
|
|
config:
|
|
|
|
threshold: 40 # Unfortunately, we have a lot of duplicate code in places like lib/inspec/control_eval_context.rb
|
2019-06-20 14:56:57 -04:00
|
|
|
method-complexity: # 'Cognitive Complexity' in the UI
|
|
|
|
config:
|
|
|
|
threshold: 10 # 5 Default 5 is really tight
|
2019-05-08 12:49:08 -07:00
|
|
|
plugins:
|
|
|
|
fixme:
|
|
|
|
enabled: true
|
|
|
|
config:
|
|
|
|
strings:
|
|
|
|
- TODO
|
2019-05-21 23:46:23 -07:00
|
|
|
- rubocop:disable
|
2019-05-08 12:49:08 -07:00
|
|
|
flog:
|
|
|
|
enabled: true
|
2019-06-10 14:00:45 -04:00
|
|
|
config:
|
|
|
|
score_threshold: 30
|
2019-12-03 19:09:01 -08:00
|
|
|
reek:
|
|
|
|
enabled: true
|
2019-05-08 12:49:08 -07:00
|
|
|
markdownlint:
|
|
|
|
enabled: true
|
2019-12-03 19:09:01 -08:00
|
|
|
shellcheck:
|
|
|
|
enabled: true
|
2019-06-10 14:00:45 -04:00
|
|
|
exclude_patterns:
|
2019-06-11 21:51:33 -07:00
|
|
|
- "www/source/javascripts/"
|
2019-10-16 22:47:26 -07:00
|
|
|
- "examples/"
|
2019-11-08 19:08:20 -08:00
|
|
|
- "test/fixtures/profiles/"
|
|
|
|
- "test/kitchen"
|