mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 04:38:27 +01:00
2e0664dad4
Also made naming of "core_image.phar" consistent everywhere
67 lines
1.4 KiB
YAML
67 lines
1.4 KiB
YAML
---
|
|
version: "2"
|
|
plugins:
|
|
csslint:
|
|
enabled: false
|
|
duplication:
|
|
enabled: true
|
|
checks:
|
|
Identical code:
|
|
enabled: false
|
|
Design/TooManyPublicMethods:
|
|
enabled: false
|
|
|
|
config:
|
|
languages:
|
|
- javascript
|
|
- php
|
|
eslint:
|
|
enabled: false
|
|
fixme:
|
|
enabled: false
|
|
phpmd:
|
|
enabled: true
|
|
checks:
|
|
Identical code:
|
|
enabled: false
|
|
CleanCode/StaticAccess:
|
|
enabled: false
|
|
UnusedFormalParameter:
|
|
enabled: false
|
|
Design/TooManyFields:
|
|
enabled: false
|
|
CleanCode/BooleanArgumentFlag:
|
|
enabled: false
|
|
CleanCode/ElseExpression:
|
|
enabled: false
|
|
config:
|
|
file_extensions: "php"
|
|
rulesets: "cleancode,unusedcode,codesize"
|
|
exclude_patterns:
|
|
- "config/"
|
|
- "db/"
|
|
- "dist/"
|
|
- "features/"
|
|
- "**/node_modules/"
|
|
- "script/"
|
|
- "**/spec/"
|
|
- "**/test/"
|
|
- "**/tests/"
|
|
- "**/vendor/"
|
|
- "**/*.d.ts"
|
|
- "e107_plugins/log/js/awesomechart.js"
|
|
- "e107_core/**/*.sc"
|
|
- "e107_docs/**/*"
|
|
- "e107_images/**/*"
|
|
- "e107_handlers/hybridauth/**/*"
|
|
- "e107_handlers/jsshrink/**/*"
|
|
- "e107_handlers/phpmailer/**/*"
|
|
- "e107_handlers/phpthumb/**/*"
|
|
- "e107_handlers/xmlrpc/**/*"
|
|
- "e107_system/core_image.phar"
|
|
- "e107_web/**/*"
|
|
- "e107_tests/tests/**/*"
|
|
# Ignore symlinks that are allowed to be broken due to local configurations
|
|
- "e107_tests/lib/ci/salt/pillars/config.sls"
|
|
- "e107_tests/lib/ci/salt/pillars/config-local.sls"
|