2016-04-18 09:47:42 -07:00
|
|
|
---
|
2018-05-01 08:18:15 -05: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
|
2017-04-21 17:27:30 -07:00
|
|
|
CleanCode/ElseExpression:
|
|
|
|
enabled: false
|
2016-04-18 12:17:27 -07:00
|
|
|
config:
|
|
|
|
file_extensions: "php"
|
|
|
|
rulesets: "cleancode,unusedcode,codesize"
|
2018-05-01 08:18:15 -05:00
|
|
|
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/**/*"
|