-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop_todo.yml
107 lines (94 loc) · 3.45 KB
/
.rubocop_todo.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
97
98
99
100
101
102
103
104
105
106
107
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2020-05-05 17:14:31 +0000 using RuboCop version 0.63.1.
# 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: 2
Lint/EmptyWhen:
Exclude:
- 'app/models/marc_indexer.rb'
# Offense count: 1
Metrics/AbcSize:
Max: 146
# Offense count: 1
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
Max: 33
Exclude:
- 'spec/**/*'
- 'app/controllers/catalog_controller.rb'
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 118
# Offense count: 3
Metrics/CyclomaticComplexity:
Max: 10
Exclude:
- 'app/helpers/blacklight_helper.rb'
# Offense count: 1
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 114
# Offense count: 1
Metrics/ModuleLength:
Exclude:
- 'app/helpers/blacklight_helper.rb'
# Offense count: 3
Metrics/PerceivedComplexity:
Max: 8
Exclude:
- 'app/controllers/concerns/blacklight/search_context.rb'
- 'app/helpers/blacklight_helper.rb'
# Offense count: 1
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
Naming/FileName:
Exclude:
- '**/Gemfile'
- '**/*.rake'
- 'Capfile'
- 'config/deploy/*'
- 'ops/solr-setup.rb'
# Offense count: 1
# Configuration parameters: Max.
RSpec/ExampleLength:
Enabled: false
Exclude:
- 'spec/services/voyager_indexing_service_spec.rb'
- 'spec/system/user_authentication_spec.rb'
- 'spec/system/facet_by_year_spec.rb'
- 'spec/system/sort_in_search_spec.rb'
# Offense count: 6
RSpec/RepeatedDescription:
Exclude:
- 'spec/presenters/yul/description_metadata_presenter_spec.rb'
- 'spec/presenters/yul/identifier_metadata_presenter_spec.rb'
- 'spec/presenters/yul/keyword_metadata_presenter_spec.rb'
- 'spec/presenters/yul/migration_source_metadata_presenter_spec.rb'
- 'spec/presenters/yul/origin_metadata_presenter_spec.rb'
- 'spec/presenters/yul/usage_metadata_presenter_spec.rb'
# Offense count: 12
Rails/FilePath:
Exclude:
- 'spec/presenters/yul/description_metadata_presenter_spec.rb'
- 'spec/presenters/yul/identifier_metadata_presenter_spec.rb'
- 'spec/presenters/yul/keyword_metadata_presenter_spec.rb'
- 'spec/presenters/yul/migration_source_metadata_presenter_spec.rb'
- 'spec/presenters/yul/origin_metadata_presenter_spec.rb'
- 'spec/presenters/yul/usage_metadata_presenter_spec.rb'
- 'app/presenters/yul/description_metadata_presenter.rb'
- 'app/presenters/yul/identifier_metadata_presenter.rb'
- 'app/presenters/yul/keyword_metadata_presenter.rb'
- 'app/presenters/yul/migration_source_metadata_presenter.rb'
- 'app/presenters/yul/origin_metadata_presenter.rb'
- 'app/presenters/yul/usage_metadata_presenter.rb'
# Offense count: 1
# Configuration parameters: Include.
# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
Rails/Output:
Exclude:
- 'app/services/voyager_indexing_service.rb'