2019-05-08 19:49:08 +00:00
|
|
|
version: "2"
|
|
|
|
checks:
|
2019-07-30 17:49:35 +00:00
|
|
|
method-lines:
|
|
|
|
config:
|
|
|
|
threshold: 40
|
2019-05-08 19:49:08 +00:00
|
|
|
file-lines:
|
|
|
|
enabled: false
|
2019-06-10 18:00:45 +00: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 18:56:57 +00:00
|
|
|
method-complexity: # 'Cognitive Complexity' in the UI
|
|
|
|
config:
|
|
|
|
threshold: 10 # 5 Default 5 is really tight
|
2019-05-08 19:49:08 +00:00
|
|
|
plugins:
|
|
|
|
fixme:
|
|
|
|
enabled: true
|
|
|
|
config:
|
|
|
|
strings:
|
|
|
|
- TODO
|
2019-05-22 06:46:23 +00:00
|
|
|
- rubocop:disable
|
2019-05-08 19:49:08 +00:00
|
|
|
flog:
|
|
|
|
enabled: true
|
2019-06-10 18:00:45 +00:00
|
|
|
config:
|
|
|
|
score_threshold: 30
|
2019-05-08 19:49:08 +00:00
|
|
|
markdownlint:
|
|
|
|
enabled: true
|
2019-06-10 18:00:45 +00:00
|
|
|
exclude_patterns:
|
2019-06-12 04:51:33 +00:00
|
|
|
- "www/source/javascripts/"
|
2019-10-17 05:47:26 +00:00
|
|
|
- "examples/"
|
|
|
|
- "test/unit/mock/profiles/"
|
2019-10-18 20:39:20 +00:00
|
|
|
- "test/kitchen"
|