diff --git a/.codeclimate.yml b/.codeclimate.yml index 5cbfad366..69c71991e 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -2,6 +2,12 @@ version: "2" checks: file-lines: enabled: false + identical-code: + # Certain areas of the DSL are repetitive - like + # lib/inspec/control_eval_context - which requires + # identical defs in both instance and class scope + config: + threshold: 20 plugins: fixme: enabled: true @@ -11,6 +17,7 @@ plugins: - rubocop:disable flog: enabled: true + score_threshold: 30.0 markdownlint: enabled: true rubocop: diff --git a/.mdlrc b/.mdlrc new file mode 100644 index 000000000..4ff6f15fb --- /dev/null +++ b/.mdlrc @@ -0,0 +1 @@ +line-length false