-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
96 lines (91 loc) · 2.71 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
require: rubocop-rspec
inherit_gem:
bixby: bixby_default.yml
AllCops:
DisplayCopNames: true
TargetRubyVersion: 2.6
Exclude:
- 'bin/*'
- 'config/deploy.rb'
- 'vendor/**/*'
- 'db/schema.rb'
- 'node_modules/**/*'
- 'spec/support/**/*'
- 'tmp/**/*'
Lint/MissingSuper:
Exclude:
- 'lib/pulfalight/normalized_date.rb'
Metrics/AbcSize:
Exclude:
- 'app/models/pulfalight/requests/aeon_external_request.rb'
- 'lib/pulfalight/traject/ead2_component_config.rb'
- 'app/values/aeon_request.rb'
- 'app/controllers/catalog_controller.rb'
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
- 'lib/tasks/**/*'
- 'app/controllers/catalog_controller.rb'
- 'config/routes.rb'
- 'config/initializers/simple_form_bootstrap.rb'
- 'lib/pulfalight/traject/ead2_component_config.rb'
Rails/UnknownEnv:
Exclude:
- 'config/initializers/honeybadger_downtime_hook.rb'
Metrics/ClassLength:
Exclude:
- 'app/models/solr_document.rb'
- 'app/controllers/catalog_controller.rb'
- 'app/services/aspace_fixture_generator.rb'
- 'app/values/aeon_request.rb'
Metrics/MethodLength:
Exclude:
- 'app/controllers/catalog_controller.rb'
- 'app/models/pulfalight/requests/aeon_external_request.rb'
- 'app/models/solr_document.rb'
- 'lib/pulfalight/traject/ead2_component_config.rb'
- 'lib/tasks/pulfalight.rake'
- 'app/values/aeon_request.rb'
- 'lib/pulfalight/normalized_box_locations.rb'
- 'lib/pulfalight/traject/ead2_indexing.rb'
Layout/LineLength:
Exclude:
- 'spec/features/traject/ead2_indexing_spec.rb'
- 'config/initializers/simple_form_bootstrap.rb'
- 'spec/lib/pulfalight/normalized_box_locations_spec.rb'
- 'spec/features/catalog_view_spec.rb'
- 'spec/helpers/pulfalight_helper_spec.rb'
- 'spec/requests/catalog_request_spec.rb'
Naming/PredicateName:
Exclude:
- 'app/models/solr_document.rb'
Metrics/CyclomaticComplexity:
Exclude:
- 'lib/pulfalight/traject/ead2_component_config.rb'
- 'lib/pulfalight/normalized_box_locations.rb'
Metrics/ModuleLength:
Exclude:
- 'lib/pulfalight/traject/ead2_component_config.rb'
Metrics/PerceivedComplexity:
Exclude:
- 'lib/pulfalight/traject/ead2_component_config.rb'
RSpec/ExampleLength:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
RSpec/VerifiedDoubles:
Exclude:
- 'spec/models/user_spec.rb'
- 'spec/services/aspace_fixture_generator_spec.rb'
RSpec/DescribeClass:
Exclude:
- 'spec/views/**/*.rb'
Rails/OutputSafety:
Exclude:
- 'config/initializers/repository_contact_info_patch.rb'
Rails/SkipsModelValidations:
Exclude:
- 'app/services/aspace/indexer.rb'
Lint/SuppressedException:
Exclude:
- 'lib/tasks/performance.rake'