-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
73 lines (62 loc) · 1.8 KB
/
.rubocop.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
61
62
63
64
65
66
67
68
69
70
71
72
73
AllCops:
NewCops: enable
Exclude:
- 'db/schema.rb'
- 'vendor/**/*'
Layout/LineLength:
Max: 275
Exclude:
- 'spec/controllers/*'
Metrics/AbcSize:
Exclude:
- 'app/models/*'
- 'db/migrate/*'
- 'app/controllers/publications_controller.rb'
- 'app/controllers/submitters_controller.rb'
- 'app/helpers/colleges_helper.rb'
- 'app/helpers/publications_helper.rb'
- 'app/controllers/admin_controller.rb'
- 'spec/rails_helper.rb'
Metrics/BlockLength:
Max: 125
Exclude:
- 'spec/controllers/submitters_controller_spec.rb'
- 'spec/routing/submitters_routing_spec.rb'
- 'spec/views/submitters/index.html.erb_spec.rb'
Metrics/CyclomaticComplexity:
Exclude:
- 'app/controllers/publications_controller.rb'
- 'app/helpers/publications_helper.rb'
Metrics/ClassLength:
Max: 150
Metrics/MethodLength:
Max: 100
Metrics/PerceivedComplexity:
Exclude:
- 'app/controllers/publications_controller.rb'
- 'app/helpers/publications_helper.rb'
Style/ClassAndModuleChildren:
Exclude:
- 'test/test_helper.rb'
Style/Documentation:
Exclude:
- 'app/helpers/*'
- 'app/controllers/*'
- 'app/models/*'
- 'db/**/*'
- 'app/helpers/application_helper.rb'
- 'app/mailers/*'
- 'app/models/application_record.rb'
- 'config/application.rb'
- 'test/application_system_test_case.rb'
- 'test/test_helper.rb'
- 'app/controllers/submitters_controller.rb'
- 'app/helpers/submitters_helper.rb'
- 'app/models/submitter.rb'
Style/ExpandPathArguments:
Exclude:
- 'config/puma.rb'
Style/MixinUsage:
Exclude:
- 'bin/setup'
- 'bin/update'