-
Notifications
You must be signed in to change notification settings - Fork 7
/
.codeclimate.yml
58 lines (58 loc) · 950 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
54
55
56
57
58
version: "2"
checks:
method-lines:
enabled: true
config:
threshold: 100
similar-code:
enabled: true
config:
threshold: 25
identical-code:
enabled: true
config:
threshold: 18
method-count:
config:
threshold: 24
plugins:
duplication:
enabled: true
config:
languages:
ruby:
filters:
- "(call _ expose ___)" # exlude expose methods
rubocop:
enabled: true
channel: rubocop-1-29-1
config:
file: .rubocop.yml
brakeman:
enabled: false
bundler-audit:
enabled: true
exclude_patterns: # customize
- .bundle/
- app/assets/fonts/
- app/assets/images/
- "**/vendor/"
- bin/rails
- bin/rake
- doc/
- files/
- public/
- spec/
- features/
- old_features/
- tmp/
- app/interfaces/api/v1/*
- lib/demo_data/*
- lib/tasks/**/*
- db/*
- db/migrate/*
- db/seeds/*
- features/support/*
- script/*
- Gemfile*
- scheduled_tasks/*_task.rb