-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
95 lines (78 loc) · 2.15 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
inherit_gem:
niftany: niftany_rubocop.yml
inherit_from:
- .rubocop_todo.yml
AllCops:
NewCops: enable
TargetRubyVersion: 3.1.3
Exclude:
- 'bin/**/*'
- 'db/**/*'
- 'node_modules/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- 'spec/support/data/**/*'
Metrics/ClassLength:
Exclude:
- 'app/services/symphony_client.rb'
- 'app/services/illiad_client.rb'
- 'app/controllers/ill_controller.rb'
- 'app/models/patron.rb'
Metrics/BlockLength:
Exclude:
- 'config/environments/production.rb'
- 'config/initializers/warden.rb'
- 'spec/**/*'
- 'config/routes.rb'
Layout/LineLength:
Exclude:
- 'spec/factories/bibs.rb'
Naming/AccessorMethodName:
Exclude:
- 'app/services/symphony_client.rb'
RSpec/ExampleLength:
Exclude:
- 'spec/services/symphony_client_spec.rb'
- 'spec/features/**/*'
RSpec/MultipleExpectations:
Exclude:
- 'spec/services/symphony_client_spec.rb'
RSpec/VerifiedDoubles:
Exclude:
- 'spec/controllers/lending_policy_controller_spec.rb'
- 'spec/controllers/checkouts_controller_spec.rb'
RSpec/NestedGroups:
Exclude:
- 'spec/controllers/lending_policy_controller_spec.rb'
- 'spec/features/holds_spec.rb'
- 'spec/services/illiad_client_spec.rb'
- 'spec/controllers/ill_controller_spec.rb'
Lint/MissingSuper:
Exclude:
- 'app/components/**/*'
RSpec/MultipleMemoizedHelpers:
Exclude:
- 'spec/controllers/holds_controller_spec.rb'
- 'spec/controllers/ill_controller_spec.rb'
- 'spec/features/summaries_spec.rb'
- 'spec/services/**/*'
- 'spec/views/summaries/index.html.erb_spec.rb'
- 'spec/controllers/checkouts_controller_spec.rb'
Rails/I18nLocaleTexts:
Exclude:
- 'spec/views/shared/flash_msg.html.erb_spec.rb'
- 'app/controllers/checkouts_controller.rb'
Rails/ApplicationMailer:
Exclude:
- 'app/mailers/checkouts_mailer.rb'
Style/RescueStandardError:
Exclude:
- 'app/services/illiad_client.rb'
Style/HashSyntax:
Exclude:
- 'spec/helpers/holds_helper_spec.rb'
- 'app/controllers/checkouts_controller.rb'
RSpec/Capybara/SpecificMatcher:
Exclude:
- 'spec/features/holds_spec.rb'
- 'spec/views/holds/new.html.erb_spec.rb'