This repository has been archived by the owner on Dec 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.codeclimate.yml
84 lines (84 loc) · 1.52 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
---
engines:
csslint:
enabled: true
duplication:
enabled: true
config:
languages:
- javascript
- php
fixme:
enabled: true
phpcodesniffer:
enabled: true
config:
standard: "WordPress-Core,WordPress-Docs,WordPress-Extra"
phpmd:
enabled: true
checks:
Design/LongClass:
enabled: false
ExcessivePublicCount:
enabled: false
Naming/ShortVariable:
enabled: false
Design/TooManyMethods:
enabled: false
Design/TooManyPublicMethods:
enabled: false
Design/WeightedMethodCount:
enabled: false
Controversial/CamelCaseParameterName:
enabled: false
Controversial/CamelCaseMethodName:
enabled: false
Controversial/CamelCasePropertyName:
enabled: false
Controversial/CamelCaseVariableName:
enabled: false
CleanCode/ElseExpression:
enabled: false
eslint:
enabled: true
channel: "eslint-2"
scss-lint:
enabled: true
markdownlint:
enabled: true
ratings:
paths:
- "**.scss"
- "**.inc"
- "**.js"
- "**.jsx"
- "**.module"
- "**.php"
- "**.md"
- "**.py"
- "**.rb"
exclude_paths:
- "LICENSE"
- "tests/"
- "docs/"
- "**.md"
- "**.png"
- "**.xml"
- "**.jpg"
- "**.gif"
- "**.css"
- "**.map"
- "gulpfile.js"
- "config.codekit"
- "composer.lock"
- "phpcs.xml"
- "**.json"
- "**.pot"
- "**.txt"
- "**-min.js"
- "**-min.css"
- "**.dist"
- "**.sh"
- "**.gif"
- "**.jpg"
- "**.jpeg"