-
Notifications
You must be signed in to change notification settings - Fork 19
/
.codeclimate.yml
60 lines (60 loc) · 1.25 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
version: "2"
prepare:
fetch:
- "https://raw.githubusercontent.com/internetee/style-guide/master/.rubocop-ruby.yml"
- url: "https://raw.githubusercontent.com/internetee/style-guide/master/.rubocop-rails.yml"
path: ".rubocop.yml"
plugins:
brakeman:
enabled: true
checks:
mass_assign_permit!:
enabled: false
bundler-audit:
enabled: true
duplication:
enabled: true
config:
count_threshold: 3
languages:
ruby:
mass_threshold: 100
javascript:
mass_threshold: 100
eslint:
enabled: true
channel: eslint-5
fixme:
enabled: true
checks:
TODO:
enabled: false
rubocop:
enabled: true
channel: rubocop-1-45
checks:
Rubocop/Style/ClassAndModuleChildren:
enabled: false
checks:
method-lines:
config:
threshold: 40
method-count:
config:
threshold: 25
exclude_patterns:
- "app/models/version/"
- "bin/"
- "config/"
- "db/"
- "lib/core_monkey_patches/"
- "lib/gem_monkey_patches/"
- "lib/tasks/api_log.rake"
- "lib/tasks/bootstrap.rake"
- "lib/tasks/db.rake"
- "lib/tasks/documents.rake"
- "lib/tasks/legal_doc.rake"
- "lib/tasks/whois.rake"
- "test/"
- "vendor/"
- "CHANGELOG.md"