Преглед изворни кода

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: