-
Notifications
You must be signed in to change notification settings - Fork 383
/
.codeclimate.yml
134 lines (134 loc) · 2.88 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
version: "2"
checks:
argument-count:
enabled: true
config:
threshold: 10
complex-logic:
enabled: false
file-lines:
config:
threshold: 10000
similar-code:
enabled: false
identical-code:
enabled: false
method-complexity:
enabled: true
config:
threshold: 10000
method-count:
enabled: true
config:
threshold: 1000
method-lines:
config:
threshold: 10000
nested-control-flow:
enabled: true
config:
threshold: 10000
return-statements:
enabled: true
config:
threshold: 100
plugins:
csslint:
enabled: true
checks:
adjoining-classes:
enabled: false
box-model:
enabled: false
box-sizing:
enabled: false
compatible-vendor-prefixes:
enabled: false
display-property-grouping:
enabled: false
duplicate-background-images:
enabled: false
duplicate-properties:
enabled: false
empty-rules:
enabled: false
fallback-colors:
enabled: false
gradients:
enabled: false
known-properties:
enabled: false
important:
enabled: false
order-alphabetical:
enabled: false
outline-none:
enabled: false
overqualified-elements:
enabled: false
qualified-headings:
enabled: false
universal-selector:
enabled: false
unqualified-attributes:
enabled: false
regex-selectors:
enabled: false
star-property-hack:
enabled: false
text-indent:
enabled: false
underscore-property-hack:
enabled: false
zero-units:
enabled: false
eslint:
enabled: true
fixme:
enabled: true
checks:
TODO:
enabled: false
XXX:
enabled: false
phpmd:
enabled: false
checks:
CleanCode/BooleanArgumentFlag:
enabled: false
CleanCode/ElseExpression:
enabled: false
CleanCode/IfStatementAssignment:
enabled: false
CleanCode/MissingImport:
enabled: false
CleanCode/StaticAccess:
enabled: false
Controversial/CamelCaseMethodName:
enabled: false
Controversial/CamelCaseParameterName:
enabled: false
Controversial/CamelCasePropertyName:
enabled: false
Controversial/CamelCaseVariableName:
enabled: false
Controversial/Superglobals:
enabled: false
CyclomaticComplexity:
enabled: false
Design/LongMethod:
enabled: false
Design/NpathComplexity:
enabled: false
Naming/LongVariable:
enabled: false
Naming/ShortVariable:
enabled: false
order-alphabetical:
enabled: false
exclude_patterns:
- "api_explorer/*"
- "build/*"
- "client/css/converse.css"
- "client/js/libs/*"
- "server/php/libs/vendors/**/*"