From 7df04db20772a8b90644d2564aab49c6178bb727 Mon Sep 17 00:00:00 2001 From: Chris Thoburn Date: Wed, 12 Sep 2018 18:34:03 -0700 Subject: [PATCH] cleanup code climate config --- .codeclimate.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.codeclimate.yml b/.codeclimate.yml index 8a27d7029a0..c5626c297d2 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -4,3 +4,29 @@ languages: exclude_paths: - "tests/*" + - "generators/*" + - "blueprints/*" + - "bin/*" + - "lib/*" + - "node-tests/*" + +version: "2" # required to adjust maintainability checks +checks: + argument-count: + config: + threshold: 4 + complex-logic: + config: + threshold: 4 + file-lines: + enabled: false # we should re-enable this and slowly reduce to ~750 over time + method-complexity: + enabled: false # we should re-enable this and slowly reduce to ~10 over time + method-count: + config: + threshold: 50 + method-lines: + config: + threshold: 100 + identical-code: + enabled: false # we should re-enable this once we no longer have a separate build step for RecordData