From 0a00850397e081364ad7a4cb579aefd3b0452f98 Mon Sep 17 00:00:00 2001 From: Peng Wang Date: Sun, 15 Oct 2017 01:55:27 -0700 Subject: [PATCH] Start customizing CodeClimate config. --- .codeclimate.yml | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/.codeclimate.yml b/.codeclimate.yml index bf37948..29ecc99 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -1,11 +1,20 @@ ---- -engines: +version: '2' +checks: + file-lines: + config: + threshold: 1000 + method-lines: + config: + threshold: 70 + return-statements: + config: + threshold: 20 +plugins: + csslint: + enabled: true + eslint: + enabled: true fixme: enabled: true -ratings: - paths: - - "**.js" - - "**.css" -exclude_paths: -- "dist/**/*" -- "release/**/*" +exclude_patterns: + - 'dist/'