-
Notifications
You must be signed in to change notification settings - Fork 102
/
.codeclimate.yml
53 lines (53 loc) · 1015 Bytes
/
.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
engines:
csslint:
enabled: true
duplication:
enabled: true
config:
languages:
- javascript
- python
- php
eslint:
enabled: true
fixme:
enabled: true
phpmd:
enabled: true
config:
file_extensions:
- php
- inc
# rulesets: "cleancode,codesize,controversial,design,naming,unusedcode"
rulesets: "cleancode,codesize,controversial,naming,unusedcode"
ratings:
paths:
- "**.css"
- "**.inc"
- "**.js"
- "**.jsx"
- "**.module"
- "**.php"
- "**.py"
- "**.rb"
#languages:
# Ruby: false
# JavaScript: true
# PHP: true
# Python: false
exclude_paths:
#- "**.min.js"
#- "**.min.css"
## Excluding Tests, Specs and Vendor Directories at any Level
- "**/*.min.js"
- "**/*.min.css"
- tests/**/*
- tests.int/**/*
- spec/**/*
- js/lib/**/*
- "**/vendor/**/*"
## Excluding
#- "admin/sxd/**/*"
- admin/sxd/**/*
# Excluding vars* files because of many false-positive duplicate detections
- includes/vars*