forked from themeum/kirki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
73 lines (73 loc) · 1.5 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
---
engines:
csslint:
enabled: true
checks:
fallback-colors:
enabled: false
qualified-headings:
enabled: false
important:
enabled: false
universal-selector:
enabled: false
compatible-vendor-prefixes:
enabled: false
box-sizing:
enabled: false
star-property-hack:
enabled: false
duplication:
enabled: false
config:
languages:
- javascript
- php
fixme:
enabled: true
phpcodesniffer:
enabled: true
config:
standard: "Wordpress"
checks:
WordPress NamingConventions ValidHookName UseUnderscores:
enabled: false
Squiz PHP CommentedOutCode Found:
enabled: false
phpmd:
enabled: true
checks:
Controversial/CamelCaseClassName:
enabled: false
Controversial/CamelCaseMethodName:
enabled: false
Controversial/CamelCaseVariableName:
enabled: false
Controversial/CamelCasePropertyName:
enabled: false
Controversial/CamelCaseParameterName:
enabled: false
Naming/ShortVariable:
enabled: false
Naming/LongVariable:
enabled: false
CleanCode/StaticAccess:
enabled: false
ratings:
paths:
- "**.css"
- "**.js"
- "**.php"
exclude_paths:
- Gruntfile.js
- example.php
- assets/vendor/*
- controls/js/dist/*
- controls/css/*
- docs/files/*
- lib/class-aricolor.php
- core/deprecated.php
- modules/webfonts/webfonts.php
- tests/*
- bin/*
- lib/*