From dcd5fbc0cecd1554ae0996c95e3d8f9344297418 Mon Sep 17 00:00:00 2001 From: Clinton Wolfe Date: Thu, 6 Jun 2019 13:35:37 -0400 Subject: [PATCH] Simmer down, linter Signed-off-by: Clinton Wolfe --- .codeclimate.yml | 7 +++++++ .mdlrc | 1 + 2 files changed, 8 insertions(+) create mode 100644 .mdlrc 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