forked from e107inc/e107
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.codeclimate.yml
62 lines (61 loc) · 1.21 KB
/
.codeclimate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
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_admin/core_image.php"
- "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_web/**/*"