1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Updated .codeclimate.yml for CodeClimate version 2

This commit is contained in:
Nick Liu
2018-05-01 08:18:15 -05:00
parent 4af400fd75
commit beb2b1c0f6

View File

@@ -1,5 +1,6 @@
--- ---
engines: version: "2"
plugins:
csslint: csslint:
enabled: false enabled: false
duplication: duplication:
@@ -36,20 +37,25 @@ engines:
config: config:
file_extensions: "php" file_extensions: "php"
rulesets: "cleancode,unusedcode,codesize" rulesets: "cleancode,unusedcode,codesize"
ratings: exclude_patterns:
paths: - "config/"
- "**.css" - "db/"
- "**.js" - "dist/"
- "**.php" - "features/"
exclude_paths: - "**/node_modules/"
- e107_admin/core_image.php - "script/"
- e107_plugins/log/js/awesomechart.js - "**/spec/"
- e107_docs/**/* - "**/test/"
- e107_images/**/* - "**/tests/"
- e107_handlers/hybridauth/**/* - "**/vendor/"
- e107_handlers/jsshrink/**/* - "**/*.d.ts"
- e107_handlers/phpmailer/**/* - "e107_admin/core_image.php"
- e107_handlers/phpthumb/**/* - "e107_plugins/log/js/awesomechart.js"
- e107_handlers/xmlrpc/**/* - "e107_docs/**/*"
- e107_web/**/* - "e107_images/**/*"
- "e107_handlers/hybridauth/**/*"
- "e107_handlers/jsshrink/**/*"
- "e107_handlers/phpmailer/**/*"
- "e107_handlers/phpthumb/**/*"
- "e107_handlers/xmlrpc/**/*"
- "e107_web/**/*"