forked from meedan/pender
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.codeclimate.yml
More file actions
50 lines (50 loc) · 889 Bytes
/
.codeclimate.yml
File metadata and controls
50 lines (50 loc) · 889 Bytes
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"
checks:
argument-count:
config:
threshold: 5
complex-logic:
config:
threshold: 4
file-lines:
enabled: false
method-lines:
enabled: false
method-complexity:
config:
threshold: 11
method-count:
config:
threshold: 50
nested-control-flow:
config:
threshold: 4
return-statements:
config:
threshold: 4
plugins:
fixme:
enabled: false
rubocop:
enabled: true
config: .rubocop.yml
brakeman:
enabled: true
duplication:
enabled: true
config:
languages:
ruby:
mass_threshold: 19
bundler-audit:
enabled: true
exclude_patterns:
- "app/controllers/concerns/*_doc.rb"
- "public/api"
- "lib/tasks"
- "pender-client-php"
- "public/coverage"
- "test"
- "public/javascripts/jquery-2.1.3.min.js"
- "public/javascripts/md5.js"
- "config/environments/*"