-
Notifications
You must be signed in to change notification settings - Fork 2
/
.codeclimate.yml
56 lines (56 loc) · 1.1 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
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
Rubocop/Style/Semicolon:
enabled: false
checks:
method-lines:
config:
threshold: 40
method-count:
config:
threshold: 25
exclude_patterns:
- "app/models/"
- "app/javascript"
- "bin/"
- "config/"
- "db/"
- "test/"
- "spec/"
- "vendor/"
- "CHANGELOG.md"