-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.codeclimate.yml
88 lines (84 loc) · 2.63 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
engines:
duplication:
enabled: true
config:
languages:
- php
fixme:
enabled: true
phpmd:
enabled: true
checks:
Controversial/CamelCaseVariableName:
enabled: false
Controversial/CamelCaseParameterName:
enabled: false
Controversial/CamelCasePropertyName:
enabled: false
Controversial/CamelCaseMethodName:
enabled: false
CleanCode/ElseExpression:
enabled: false
phpcodesniffer:
enabled: true
config:
standard: "WordPress"
checks:
PEAR Functions FunctionCallSignature SpaceAfterOpenBracket:
enabled: false
PEAR Functions FunctionCallSignature SpaceBeforeOpenBracket:
enabled: false
PEAR Functions FunctionCallSignature SpaceBeforeCloseBracket:
enabled: false
PEAR Functions FunctionCallSignature Indent:
enabled: false
WordPress WhiteSpace ControlStructureSpacing NoSpaceAfterOpenParenthesis:
enabled: false
WordPress WhiteSpace ControlStructureSpacing NoSpaceBeforeCloseParenthesis:
enabled: false
WordPress WhiteSpace ControlStructureSpacing SpaceBeforeFunctionOpenParenthesis:
enabled: false
WordPress VIP RestrictedFunctions curl:
enabled: false
WordPress VIP RestrictedFunctions get_term_link:
enabled: false
WordPress VIP RestrictedFunctions term_exists:
enabled: false
WordPress VIP RestrictedFunctions wp_remote_get:
enabled: false
WordPress VIP RestrictedFunctions custom_role:
enabled: false
Squiz Strings DoubleQuoteUsage NotRequired:
enabled: false
Squiz Commenting InlineComment InvalidEndChar:
enabled: false
Squiz Commenting InlineComment NotCapital:
enabled: false
Squiz Functions FunctionDeclarationArgumentSpacing SpacingAfterOpen:
enabled: false
Squiz Functions FunctionDeclarationArgumentSpacing SpacingBeforeClose:
enabled: false
Squiz WhiteSpace SuperfluousWhitespace EndLine:
enabled: false
Squiz Functions MultiLineFunctionDeclaration BraceOnSameLine:
enabled: false
Generic WhiteSpace DisallowTabIndent NonIndentTabsUsed:
enabled: false
Generic WhiteSpace DisallowSpaceIndent SpacesUsed:
enabled: false
Generic WhiteSpace ScopeIndent IncorrectExact:
enabled: false
Generic WhiteSpace ScopeIndent Incorrect:
enabled: false
ratings:
paths:
- "**.php"
exclude_paths:
- "IBDE-plugin/plugin-activation/"
- "IBDE-theme/bower_components/"
- "IBDE-theme/config.rb"
- "**.js"
- "**.png"
- "**.css"
- "tests/"