Skip to content

Node.js based forum software built for the modern web

tweak codeclimate settings

Barış Soner Uşaklıbc63cfe28155
diff --git a/.codeclimate.yml b/.codeclimate.yml
index b5165b6887..33d591df48 100644
--- a/.codeclimate.yml
+++ b/.codeclimate.yml
@@ -1,9 +1,9 @@
# Save as .codeclimate.yml (note leading .) in project root directory
version: "2"
languages:
- Ruby: true
+ Ruby: false
JavaScript: true
- PHP: true
+ PHP: false
checks:
file-lines:
config:
@@ -11,6 +11,12 @@ checks:
method-lines:
config:
threshold: 50
+ method-complexity:
+ config:
+ threshold: 10
+ similar-code:
+ config:
+ threshold: 65
exclude_paths:
- "public/vendor/*"
- "test/*"
\ No newline at end of file