From f961be49e88826f7b1c8749b526249fbfbf9d0db Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Fri, 1 May 2020 14:32:06 +0800 Subject: [PATCH] feat: add codeclimate.yml --- .codeclimate.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .codeclimate.yml diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..6390bb6 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,38 @@ +version: "2" +checks: + argument-count: + enabled: true + config: + threshold: 5 + file-lines: + enabled: true + config: + threshold: 300 + method-complexity: + enabled: true + config: + threshold: 15 + method-count: + enabled: true + config: + threshold: 50 + method-lines: + enabled: true + config: + threshold: 30 +plugins: + fixme: + enabled: false + +exclude_patterns: + - "*.*" + - ".*" + + - Gemfile + - LICENSE.txt + - Rakefile + + - rake/ + - script/ + - spec/ + - test/