forked from mnlipp/jdrupes-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
51 lines (50 loc) · 919 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
---
version: "2" # required to adjust maintainability checks
checks:
file-lines:
config:
threshold: 400 # Encoders/Decoders are complex...
method-lines:
config:
threshold: 40 # Default of 25 is ridiculous
return-statements:
config:
threshold: 10 # I think they simplify things
engines:
checkstyle:
enabled: true
config: 'checkstyle.xml'
csslint:
enabled: true
duplication:
enabled: true
config:
languages:
- ruby
- javascript
- python
- php
eslint:
enabled: true
fixme:
enabled: true
pmd:
enabled: true
channel: beta
# ... CONFIG CONTENT ...
checks:
AvoidBranchingStatementAsLastInLoop:
enabled: false
ratings:
paths:
- "**.java"
- "**.css"
- "**.inc"
- "**.js"
- "**.jsx"
- "**.module"
- "**.php"
- "**.py"
- "**.rb"
exclude_paths:
- "stylesheet.css"