forked from Katello/katello
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
214 lines (176 loc) · 5.11 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 0`
# on 2016-05-06 13:20:12 -0400 using RuboCop version 0.39.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: 3
Lint/NonLocalExitFromIterator:
Enabled: false
# Offense count: 12
# Cop supports --auto-correct.
Lint/StringConversionInInterpolation:
Enabled: false
# Offense count: 553
Metrics/AbcSize:
Max: 74
# Offense count: 5
Metrics/BlockNesting:
Max: 4
# Offense count: 66
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 504
# Offense count: 104
Metrics/CyclomaticComplexity:
Max: 22
# Offense count: 6373
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
# URISchemes: http, https
Metrics/LineLength:
Max: 200
# Offense count: 26
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 343
# Offense count: 7
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 8
# Offense count: 81
Metrics/PerceivedComplexity:
Max: 20
# Offense count: 5
# Cop supports --auto-correct.
Performance/Casecmp:
Enabled: false
# Offense count: 1
Performance/DoubleStartEndWith:
Enabled: false
# Offense count: 2
Performance/FixedSize:
Enabled: false
# Offense count: 1
# Cop supports --auto-correct.
Performance/RangeInclude:
Enabled: false
# Offense count: 5
# Cop supports --auto-correct.
Performance/RedundantBlockCall:
Enabled: false
# Offense count: 2
# Cop supports --auto-correct.
Performance/RedundantMatch:
Enabled: false
# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: MaxKeyValuePairs.
Performance/RedundantMerge:
Enabled: false
# Offense count: 2
# Cop supports --auto-correct.
Performance/StringReplacement:
Enabled: false
# Offense count: 2
# Cop supports --auto-correct.
Performance/TimesMap:
Enabled: false
# Offense count: 30
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: strict, flexible
Rails/Date:
Enabled: false
# Offense count: 16
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/FindBy:
Enabled: false
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/FindEach:
Enabled: false
# Offense count: 53
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: strict, flexible
Rails/TimeZone:
Enabled: false
# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: prefer_alias, prefer_alias_method
Style/Alias:
Enabled: false
# Offense count: 88
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
Enabled: false
# Offense count: 18
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment:
Enabled: false
# Offense count: 30
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: consistent, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
Style/FirstParameterIndentation:
Enabled: false
# Offense count: 4
Style/IdenticalConditionalBranches:
Enabled: false
# Offense count: 18
Style/IfInsideElse:
Enabled: false
# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
Style/IndentArray:
EnforcedStyle: consistent
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: IndentationWidth.
Style/IndentAssignment:
Enabled: false
# Offense count: 82
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: aligned, indented
Style/MultilineMethodCallIndentation:
Enabled: false
# Offense count: 72
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: aligned, indented
Style/MultilineOperationIndentation:
Enabled: false
# Offense count: 6
# Cop supports --auto-correct.
Style/ParallelAssignment:
Enabled: false
# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
Enabled: false
# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiteralsInInterpolation:
Enabled: false
# Offense count: 17
# Cop supports --auto-correct.
Style/UnneededInterpolation:
Enabled: false
# Offense count: 18
# Cop supports --auto-correct.
Style/ZeroLengthPredicate:
Enabled: false