This repository has been archived by the owner on Jun 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop_todo.yml
124 lines (107 loc) · 3.23 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-10-22 13:08:30 -0700 using RuboCop version 0.50.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.
# Cop supports --auto-correct.
Metrics/AbcSize:
Exclude:
- 'app/controllers/login_controller.rb'
- 'db/migrate/*'
# Offense count: 1
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Exclude:
- 'app/controllers/catalog_controller.rb'
- 'config/initializers/*'
- 'db/schema.rb'
- 'spec/**/*'
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
Exclude:
- 'app/controllers/catalog_controller.rb'
- 'db/migrate/*'
# Offense count: 38
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 120
Exclude:
- 'app/controllers/catalog_controller.rb'
- 'spec/features/create_work_spec.rb'
- 'config/initializers/**'
- 'config/routes.rb'
- 'db/**/*'
# Offense count: 1
# Cop supports --auto-correct.
Style/BlockComments:
Exclude:
- 'spec/spec_helper.rb'
# Offense count: 3
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
Exclude:
- 'app/models/qa/local_authority.rb'
- 'app/models/qa/local_authority_entry.rb'
Style/GuardClause:
Exclude:
- 'db/migrate/20171010171574_tidy_up_because_of_bad_exception.hyrax.rb'
Metrics/MethodLength:
Exclude:
- 'db/migrate/*'
# Offense count: 12
Style/Documentation:
Exclude:
- 'config/application.rb'
- 'spec/**/*'
- 'db/migrate/*'
- 'app/controllers/application_controller.rb'
- 'app/controllers/catalog_controller.rb'
- 'app/helpers/application_helper.rb'
- 'app/helpers/hyrax_helper.rb'
- 'app/mailers/application_mailer.rb'
- 'app/models/ability.rb'
- 'app/models/application_record.rb'
- 'app/models/qa.rb'
- 'app/models/qa/local_authority_entry.rb'
- 'app/models/search_builder.rb'
- 'app/models/solr_document.rb'
- 'app/models/user.rb'
# Offense count: 96
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- 'app/controllers/catalog_controller.rb'
- 'spec/models/collection_spec.rb'
- 'spec/models/file_set_spec.rb'
- 'spec/rails_helper.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: MinSize, SupportedStyles.
# SupportedStyles: percent, brackets
Style/SymbolArray:
EnforcedStyle: brackets
Exclude:
- 'app/controllers/catalog_controller.rb'
Lint/HandleExceptions:
Exclude:
- 'tasks/hydrox_dev.rake'
- 'db/migrate/*'
Style/RescueStandardError:
Exclude:
- 'db/migrate/*'
Style/IfUnlessModifier:
Exclude:
- 'app/models/user.rb'
Style/FormatStringToken:
Exclude:
- 'config/**/*'
Style/MixinUsage:
Exclude:
- 'spec/features/create_work_spec.rb'