-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.codeclimate.yml
80 lines (78 loc) · 1.87 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
version: "2"
checks:
argument-count:
config:
threshold: 10
method-complexity:
config:
threshold: 20
method-lines:
config:
threshold: 50
plugins:
csslint:
enabled: false
# Stylelint is used instead.
duplication:
enabled: true
config:
languages:
- javascript
- php
- python
eslint:
enabled: true
channel: "eslint-3"
# config: .eslintrc.json
# ignore: .eslintignore
fixme:
enabled: true
markdownlint:
enabled: true
# initial: .mdlrc
# config: .mdlrc.style.rb
phpcodesniffer:
enabled: true
checks:
Generic Files LineLength TooLong:
enabled: false
Generic WhiteSpace DisallowTabIndent TabsUsed:
enabled: false
PSR2 ControlStructures ControlStructureSpacing SpacingAfterOpenBrace:
enabled: false
PSR2 ControlStructures ControlStructureSpacing SpaceBeforeCloseBrace:
enabled: false
Squiz ControlStructures ForEachLoopDeclaration SpaceAfterOpen:
enabled: false
Squiz ControlStructures ForEachLoopDeclaration SpaceBeforeClose:
enabled: false
Squiz ControlStructures ForLoopDeclaration SpacingAfterOpen:
enabled: false
Squiz ControlStructures ForLoopDeclaration SpacingBeforeClose:
enabled: false
Squiz Functions MultiLineFunctionDeclaration BraceOnSameLine:
enabled: false
phpmd:
enabled: true
checks:
CleanCode/BooleanArgumentFlag:
enabled: false
CleanCode/StaticAccess:
enabled: false
Controversial/CamelCaseParameterName:
enabled: false
Controversial/CamelCaseVariableName:
enabled: false
shellcheck:
enabled: true
stylelint:
enabled: true
exclude_patterns:
- "_libs/**"
- "libs/**"
- "tests/**"
- "**.min.css"
- "**.custom.css"
- "**.min.js"
- "**.pack.js"
- "**.custom.js"