瀏覽代碼

tuning CodeClimate configuration

El RIDO 8 年之前
父節點
當前提交
7e4c59143b
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      .codeclimate.yml

+ 10 - 0
.codeclimate.yml

@@ -4,6 +4,15 @@ checks:
   file-lines:
     config:
       threshold: 2000
+  method-complexity:
+    config:
+      threshold: 550
+  method-count:
+    config:
+      threshold: 50
+  method-lines:
+    config:
+      threshold: 250
 plugins:
   csslint:
     enabled: true
@@ -40,6 +49,7 @@ plugins:
     enabled: true
     config:
       standard: "PSR1,PSR2,PHPCS,Zend"
+      ignore_warnings: true
   sonar-php:
     enabled: true
     config: