-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop_todo.yml
More file actions
91 lines (81 loc) · 3.36 KB
/
.rubocop_todo.yml
File metadata and controls
91 lines (81 loc) · 3.36 KB
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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2026-03-23 19:30:54 UTC using RuboCop version 1.78.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 19
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 34
# Offense count: 3
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 144
# Offense count: 3
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 8
# Offense count: 24
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Exclude:
- 'app/mailers/sync_to_folio_error_mailer.rb'
- 'app/models/aspace_to_folio_record.rb'
- 'lib/folio/client/job_execution_manager.rb'
- 'lib/folio_sync/archives_space/manual_updater.rb'
- 'lib/folio_sync/archives_space/resource_fetcher.rb'
- 'lib/folio_sync/archives_space_to_folio/batch_processor.rb'
- 'lib/folio_sync/archives_space_to_folio/folio_synchronizer.rb'
- 'lib/folio_sync/archives_space_to_folio/job_result_processor.rb'
- 'lib/folio_sync/archives_space_to_folio/marc_record_enhancer.rb'
- 'lib/folio_sync/archives_space_to_folio/record_processor.rb'
- 'lib/folio_sync/folio_to_hyacinth/hyacinth_record_writer.rb'
- 'lib/folio_sync/folio_to_hyacinth/marc_downloader.rb'
- 'lib/folio_sync/folio_to_hyacinth/marc_parsing_methods/title.rb'
- 'lib/folio_sync/rake/error_logger.rb'
- 'lib/hyacinth_api/digital_objects.rb'
# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Whitelist, AllowedMethods, AllowedReceivers.
# Whitelist: find_by_sql, find_by_token_for
# AllowedMethods: find_by_sql, find_by_token_for
# AllowedReceivers: Gem::Specification, page
Rails/DynamicFindBy:
Exclude:
- 'lib/folio_sync/folio_to_hyacinth/marc_processor.rb'
- 'lib/tasks/hyacinth_sync.rake'
# Offense count: 2
# Configuration parameters: Include.
# Include: **/app/**/*.rb, **/config/**/*.rb, **/lib/**/*.rb
Rails/Exit:
Exclude:
- 'config/initializers/folio_sync.rb'
- 'lib/folio_sync/rake/env_validator.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowedMethods, AllowedPatterns.
# AllowedMethods: order, limit, select, lock
Rails/FindEach:
Exclude:
- 'lib/tasks/test_create_or_update.rake'
# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Include.
# Include: **/app/**/*.rb, **/config/**/*.rb, db/**/*.rb, **/lib/**/*.rb
Rails/Output:
Exclude:
- 'app/models/folio_to_hyacinth_record.rb'
- 'lib/folio_sync/rake/env_validator.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/IfUnlessModifier:
Exclude:
- 'lib/folio_sync/archives_space/client.rb'
# Offense count: 24
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
# URISchemes: http, https
Layout/LineLength:
Max: 137