From 69ea928f515d7fcd0a585e2e2fd17bab0c76303b Mon Sep 17 00:00:00 2001 From: texpert Date: Sun, 9 Jan 2022 17:12:46 +0200 Subject: [PATCH] Add codeclimate bundler-audit, fixme, and rubocop plugins --- .codeclimate.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .codeclimate.yml diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..ad6c4a8 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,41 @@ +version: "2" +exclude_patterns: + - "sig/**/*" +checks: + argument-count: + config: + threshold: 4 + complex-logic: + config: + threshold: 4 + file-lines: + config: + threshold: 250 + method-complexity: + config: + threshold: 9 + method-count: + config: + threshold: 20 + method-lines: + config: + threshold: 25 + nested-control-flow: + config: + threshold: 4 + return-statements: + config: + threshold: 4 +plugins: + rubocop: + enabled: true + channel: 'rubocop-1-24-1' + bundler-audit: + enabled: true + fixme: + enabled: true + config: + strings: + - FIXME + - BUG + - CUSTOM