From 3da90fea1de25df93bcfdb715ff99628e8e8ea6e Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Sat, 29 Jan 2022 11:06:06 -0600 Subject: [PATCH] Update CodeClimate config to version 2 --- .codeclimate.yml | 47 +++++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/.codeclimate.yml b/.codeclimate.yml index 9fe59c54..fc34aa8b 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -1,24 +1,27 @@ -engines: - duplication: - enabled: true +version: "2" +checks: + similar-code: + config: + threshold: 60 + identical-code: config: - languages: - javascript: - mass_threshold: 60 - fixme: + threshold: 60 + method-lines: enabled: true - checks: - TODO: - enabled: false - FIXME: - enabled: false -ratings: - paths: - - "app/**/*" -exclude_paths: - - ".eslintrc.js" - - ".template-lintrc.js" - - "config/tailwindcss-config.js" - - "release/**/*" - - "scripts/**/*" - - "tests/**/*" + config: + threshold: 30 +# plugins: +# fixme: +# enabled: true +# config: +# strings: +# - TODO +# - FIXME +exclude_patterns: +- ".eslintrc.js" +- ".template-lintrc.js" +- "config/tailwindcss-config.js" +- "release/" +- "scripts/" +- "tests/" +- "node_modules/"