-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
45 lines (37 loc) · 1.12 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
require: rubocop-factory_bot
inherit_gem:
bixby: bixby_default.yml
AllCops:
TargetRubyVersion: 3.2
DisplayCopNames: true
Exclude:
- bin/**/*
- db/**/*
- tmp/**/*
- vendor/**/*
- node_modules/**/*
- bundle/**/*
- app/controllers/concerns/hyrax/works_controller_behavior.rb # Hyrax override
Metrics/AbcSize:
Exclude:
- app/controllers/concerns/hyrax/works_controller_behavior.rb
- app/indexers/self_deposit/indexers/file_set_indexer.rb
- app/services/hyrax/valkyrie_upload.rb
- config/initializers/hyrax_edit_permissions_service_override.rb
- config/initializers/hyrax_work_uploads_handler_override.rb
Metrics/MethodLength:
Exclude:
- config/initializers/blacklight_facets_helper_behavior_override.rb
- lib/preservation_events.rb
Rails/Exit:
Exclude:
- config/deploy.rb
- lib/fedora/migrate_fedora3_objects.rb
- lib/metadata/extract_mods_metadata_to_csv.rb
Rails/Output:
Exclude:
- lib/fedora/migrate_fedora3_objects.rb
- lib/metadata/extract_mods_metadata_to_csv.rb
Style/MultilineBlockChain:
Exclude:
- config/environments/development.rb