1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-16 20:28:28 +01:00
php-e107/.codeclimate.yml

62 lines
1.2 KiB
YAML
Raw Normal View History

2016-04-18 09:47:42 -07:00
---
version: "2"
plugins:
2016-04-18 09:47:42 -07:00
csslint:
enabled: false
2016-04-21 09:22:47 -07:00
duplication:
2016-04-18 09:47:42 -07:00
enabled: true
2016-04-21 09:22:47 -07:00
checks:
Identical code:
enabled: false
2016-04-21 11:55:54 -07:00
Design/TooManyPublicMethods:
enabled: false
2016-04-24 17:02:34 -07:00
2016-04-18 09:47:42 -07:00
config:
languages:
- javascript
- php
eslint:
enabled: false
fixme:
enabled: false
phpmd:
enabled: true
2016-04-18 12:52:11 -07:00
checks:
2016-04-18 13:12:12 -07:00
Identical code:
enabled: false
2016-04-18 12:52:11 -07:00
CleanCode/StaticAccess:
enabled: false
UnusedFormalParameter:
enabled: false
2016-04-18 13:12:12 -07:00
Design/TooManyFields:
enabled: false
2016-04-24 17:02:34 -07:00
CleanCode/BooleanArgumentFlag:
enabled: false
CleanCode/ElseExpression:
enabled: false
2016-04-18 12:17:27 -07:00
config:
file_extensions: "php"
rulesets: "cleancode,unusedcode,codesize"
exclude_patterns:
- "config/"
- "db/"
- "dist/"
- "features/"
- "**/node_modules/"
- "script/"
- "**/spec/"
- "**/test/"
- "**/tests/"
- "**/vendor/"
- "**/*.d.ts"
- "e107_admin/core_image.php"
- "e107_plugins/log/js/awesomechart.js"
- "e107_docs/**/*"
- "e107_images/**/*"
- "e107_handlers/hybridauth/**/*"
- "e107_handlers/jsshrink/**/*"
- "e107_handlers/phpmailer/**/*"
- "e107_handlers/phpthumb/**/*"
- "e107_handlers/xmlrpc/**/*"
- "e107_web/**/*"