-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.rubocop.yml
122 lines (104 loc) · 2.92 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
AllCops:
NewCops: enable
Exclude:
- db/**/*
- bin/**/*
- scripts/**/*
- config/**/*
- node_modules/**/*
- tmp/**/*
- vendor/**/*
- .git/**/*
- Guardfile
- Rakefile
- config.ru
- cli
- spec/spec_helper.rb
- spec/rails_helper.rb
Metrics/BlockLength:
Exclude:
- spec/**/*
- app/models/notification.rb
- app/models/appointment.rb
- app/controllers/admin/seeds_controller.rb
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/OpenStructUse:
Enabled: false
Bundler/OrderedGems:
Enabled: false
Lint/EmptyBlock:
Exclude:
- app/models/appointment.rb
- app/models/notification.rb
Layout/MultilineMethodCallIndentation:
Exclude:
- spec/**/*
Style/FormatStringToken:
Exclude:
- spec/services/notification_factory_spec.rb
Style/NumericLiteralPrefix:
Exclude:
- spec/services/slot_type_factory_spec.rb
Style/SymbolArray:
Exclude:
- app/controllers/**/*
- app/models/notification.rb
Style/IfUnlessModifier:
Exclude:
- app/models/appointment.rb
Metrics/MethodLength:
Max: 20
Exclude:
- app/services/notification_factory.rb
- app/services/slot_type_factory.rb
- app/helpers/users_helper.rb
- app/controllers/home_controller.rb
- app/services/history_item_factory.rb
- app/controllers/appointments_controller.rb
- app/controllers/appointments_bookings_controller.rb
- app/controllers/admin/public_pages_controller.rb
- app/controllers/admin/import_convicts_controller.rb
- app/controllers/admin/users_controller.rb
- app/jobs/appi_import_job.rb
- app/controllers/admin/seeds_controller.rb
Metrics/ClassLength:
Max: 300
Exclude:
- app/models/appointment.rb
- app/models/convict.rb
- app/models/user.rb
- app/controllers/appointments_controller.rb
- app/controllers/convicts_controller.rb
- app/controllers/admin/public_pages_controller.rb
Metrics/AbcSize:
Exclude:
- app/policies/convict_policy.rb
- app/policies/place_policy.rb
- app/policies/slot_policy.rb
- app/policies/appointment_policy.rb
- app/policies/agenda_policy.rb
- app/controllers/appointments_controller.rb
- app/controllers/appointments_bookings_controller.rb
- app/controllers/home_controller.rb
- app/services/history_item_factory.rb
- app/controllers/admin/public_pages_controller.rb
- app/controllers/admin/import_convicts_controller.rb
- app/controllers/admin/users_controller.rb
- app/jobs/appi_import_job.rb
- app/controllers/admin/seeds_controller.rb
Layout/LineLength:
Exclude:
- app/dashboards/**/*
- app/controllers/admin/public_pages_controller.rb
Style/ClassAndModuleChildren:
Exclude:
- app/dashboards/**/*
Style/IfWithBooleanLiteralBranches:
Exclude:
- app/policies/appointment_policy.rb
Style/ExplicitBlockArgument:
Exclude:
- app/controllers/application_controller.rb