-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
89 lines (70 loc) · 1.77 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
inherit_gem:
bixby: bixby_default.yml
AllCops:
TargetRubyVersion: 3.1
Exclude:
- 'bin/**/*'
- 'db/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- 'node_modules/**/*'
Layout/LeadingCommentSpace:
Enabled: false
Layout/LineLength:
Exclude:
- 'spec/**/*'
Lint/EmptyWhen:
Exclude:
- app/models/marc_indexer.rb
Lint/MissingSuper:
Enabled: false
Metrics/AbcSize:
Exclude:
- 'app/models/marc_indexer.rb'
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
- 'app/controllers/catalog_controller.rb'
- 'config/routes.rb'
- 'coverage/config/routes.rb'
Metrics/ClassLength:
Exclude:
- 'spec/**/*'
- 'app/controllers/catalog_controller.rb'
- 'app/models/marc_indexer.rb'
Metrics/CyclomaticComplexity:
Exclude:
- 'app/models/marc_indexer.rb'
Metrics/MethodLength:
Exclude:
- 'app/components/blacklight/search_bar_component.rb'
- 'app/models/marc_indexer.rb'
- 'app/values/uv_configuration.rb'
Metrics/ModuleLength:
Exclude:
- 'lib/blacklight/access_controls/ability.rb'
- 'app/helpers/blacklight/blacklight_helper_behavior.rb'
Metrics/PerceivedComplexity:
Exclude:
- 'app/models/marc_indexer.rb'
Rails/Exit:
Exclude:
- 'config/deploy.rb'
Rails/Output:
Exclude:
- 'config/deploy.rb'
RSpec/AnyInstance:
Exclude:
- 'spec/**/*'
RSpec/DescribeClass:
Exclude:
- 'spec/system/visibility_spec.rb'
- 'spec/routing/uv_config_routes_spec.rb'
RSpec/ExampleLength:
Exclude:
- 'spec/**/*'
RSpec/MessageSpies:
EnforcedStyle: receive
Style/MethodDefParentheses:
Exclude:
- 'app/helpers/blacklight/blacklight_helper_behavior.rb'