Project

General

Profile

Revision 27a7d2c4

Added by Sebastian Gräßl over 5 years ago

Refs #19694 - Bump rubocop version to 0.49.1

View differences:

.rubocop_todo.yml
1 1
# This configuration was generated by
2 2
# `rubocop --auto-gen-config`
3
# on 2017-05-29 13:29:35 +0200 using RuboCop version 0.46.0.
3
# on 2017-06-08 13:13:45 +0200 using RuboCop version 0.49.1.
4 4
# The point is for the user to remove these configuration records
5 5
# one by one as the offenses are removed from the code base.
6 6
# Note that changes in the inspected code, or installation of new
7 7
# versions of RuboCop, may require this file to be generated again.
8 8

  
9
# Offense count: 8
10
# Cop supports --auto-correct.
11
# Configuration parameters: EnforcedHashRocketStyle, SupportedHashRocketStyles, EnforcedColonStyle, SupportedColonStyles, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
12
# SupportedHashRocketStyles: key, separator, table
13
# SupportedColonStyles: key, separator, table
14
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
15
Layout/AlignHash:
16
  Exclude:
17
    - 'app/models/docker_container_wizard_states/dns.rb'
18
    - 'app/models/docker_container_wizard_states/exposed_port.rb'
19
    - 'app/models/docker_registry.rb'
20
    - 'app/models/exposed_port.rb'
21
    - 'app/models/foreman_docker/dns.rb'
22
    - 'test/functionals/containers_steps_controller_test.rb'
23

  
24
# Offense count: 20
25
# Cop supports --auto-correct.
26
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
27
# SupportedStyles: with_first_parameter, with_fixed_indentation
28
Layout/AlignParameters:
29
  Exclude:
30
    - 'test/functionals/containers_controller_test.rb'
31
    - 'test/functionals/image_search_controller_test.rb'
32
    - 'test/units/container_remover_test.rb'
33

  
34
# Offense count: 1
35
# Cop supports --auto-correct.
36
Layout/CommentIndentation:
37
  Exclude:
38
    - 'db/migrate/20160605134652_move_parameters_to_docker_parameters.rb'
39

  
40
# Offense count: 13
41
# Cop supports --auto-correct.
42
# Configuration parameters: EnforcedStyle, SupportedStyles.
43
# SupportedStyles: leading, trailing
44
Layout/DotPosition:
45
  Exclude:
46
    - 'app/models/service/containers.rb'
47
    - 'app/services/foreman_docker/container_remover.rb'
48
    - 'test/functionals/api/v2/containers_controller_test.rb'
49
    - 'test/functionals/containers_controller_test.rb'
50
    - 'test/units/container_remover_test.rb'
51

  
52
# Offense count: 1
53
# Cop supports --auto-correct.
54
# Configuration parameters: EnforcedStyle, SupportedStyles.
55
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
56
Layout/EmptyLinesAroundClassBody:
57
  Exclude:
58
    - 'app/models/docker_container_wizard_states/environment.rb'
59

  
60
# Offense count: 5
61
# Cop supports --auto-correct.
62
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
63
Layout/ExtraSpacing:
64
  Exclude:
65
    - 'app/models/concerns/foreman_docker/parameter_validators.rb'
66
    - 'app/models/docker_container_wizard_states/exposed_port.rb'
67
    - 'db/migrate/20160605133025_create_docker_parameters.rb'
68
    - 'test/functionals/image_search_controller_test.rb'
69

  
70
# Offense count: 8
71
# Cop supports --auto-correct.
72
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
73
# SupportedStyles: special_inside_parentheses, consistent, align_braces
74
Layout/IndentHash:
75
  Exclude:
76
    - 'app/controllers/image_search_controller.rb'
77
    - 'test/functionals/containers_steps_controller_test.rb'
78

  
79
# Offense count: 1
80
# Cop supports --auto-correct.
81
# Configuration parameters: Width, IgnoredPatterns.
82
Layout/IndentationWidth:
83
  Exclude:
84
    - 'db/migrate/20160605134652_move_parameters_to_docker_parameters.rb'
85

  
86
# Offense count: 2
87
# Cop supports --auto-correct.
88
# Configuration parameters: EnforcedStyle, SupportedStyles.
89
# SupportedStyles: symmetrical, new_line, same_line
90
Layout/MultilineArrayBraceLayout:
91
  Exclude:
92
    - 'app/controllers/containers/steps_controller.rb'
93
    - 'lib/foreman_docker/engine.rb'
94

  
95
# Offense count: 7
96
# Cop supports --auto-correct.
97
# Configuration parameters: EnforcedStyle, SupportedStyles.
98
# SupportedStyles: symmetrical, new_line, same_line
99
Layout/MultilineHashBraceLayout:
100
  Exclude:
101
    - 'app/controllers/api/v2/containers_controller.rb'
102
    - 'app/models/docker_container_wizard_state.rb'
103
    - 'app/models/docker_container_wizard_states/dns.rb'
104
    - 'app/models/foreman_docker/dns.rb'
105
    - 'test/functionals/containers_steps_controller_test.rb'
106
    - 'test/functionals/image_search_controller_test.rb'
107

  
108
# Offense count: 17
109
# Cop supports --auto-correct.
110
# Configuration parameters: EnforcedStyle, SupportedStyles.
111
# SupportedStyles: symmetrical, new_line, same_line
112
Layout/MultilineMethodCallBraceLayout:
113
  Exclude:
114
    - 'app/controllers/api/v2/containers_controller.rb'
115
    - 'app/controllers/concerns/foreman/controller/parameters/docker_registry.rb'
116
    - 'app/controllers/containers/steps_controller.rb'
117
    - 'app/controllers/containers_controller.rb'
118
    - 'app/helpers/containers_helper.rb'
119
    - 'app/models/docker_container_wizard_states/preliminary.rb'
120
    - 'app/models/docker_registry.rb'
121
    - 'app/models/service/containers.rb'
122
    - 'test/functionals/containers_controller_test.rb'
123
    - 'test/units/container_remover_test.rb'
124
    - 'test/units/containers_service_test.rb'
125

  
126
# Offense count: 44
127
# Cop supports --auto-correct.
128
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
129
# SupportedStyles: aligned, indented, indented_relative_to_receiver
130
Layout/MultilineMethodCallIndentation:
131
  Exclude:
132
    - 'app/controllers/api/v2/containers_controller.rb'
133
    - 'app/controllers/api/v2/registries_controller.rb'
134
    - 'app/controllers/concerns/foreman_docker/find_container.rb'
135
    - 'app/controllers/image_search_controller.rb'
136
    - 'app/controllers/registries_controller.rb'
137
    - 'app/helpers/container_steps_helper.rb'
138
    - 'app/helpers/containers_helper.rb'
139
    - 'app/models/service/containers.rb'
140
    - 'test/functionals/api/v2/containers_controller_test.rb'
141
    - 'test/functionals/containers_controller_test.rb'
142
    - 'test/functionals/containers_steps_controller_test.rb'
143
    - 'test/functionals/image_search_controller_test.rb'
144
    - 'test/units/containers_service_test.rb'
145
    - 'test/units/docker_registry_test.rb'
146
    - 'test/units/image_search_service_test.rb'
147

  
148
# Offense count: 4
149
# Cop supports --auto-correct.
150
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
151
# SupportedStyles: aligned, indented
152
Layout/MultilineOperationIndentation:
153
  Exclude:
154
    - 'app/controllers/api/v2/containers_controller.rb'
155
    - 'app/controllers/containers_controller.rb'
156

  
157
# Offense count: 2
158
# Cop supports --auto-correct.
159
# Configuration parameters: AllowForAlignment.
160
Layout/SpaceAroundOperators:
161
  Exclude:
162
    - 'app/controllers/containers_controller.rb'
163
    - 'app/models/concerns/foreman_docker/parameter_validators.rb'
164

  
165
# Offense count: 1
166
# Cop supports --auto-correct.
167
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces, SpaceBeforeBlockParameters.
168
# SupportedStyles: space, no_space
169
# SupportedStylesForEmptyBraces: space, no_space
170
Layout/SpaceInsideBlockBraces:
171
  Exclude:
172
    - 'test/functionals/image_search_controller_test.rb'
173

  
174
# Offense count: 11
175
# Cop supports --auto-correct.
176
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces.
177
# SupportedStyles: space, no_space, compact
178
# SupportedStylesForEmptyBraces: space, no_space
179
Layout/SpaceInsideHashLiteralBraces:
180
  Exclude:
181
    - 'app/models/service/registry_api.rb'
182
    - 'test/functionals/api/v2/containers_controller_test.rb'
183
    - 'test/functionals/containers_steps_controller_test.rb'
184
    - 'test/functionals/image_search_controller_test.rb'
185
    - 'test/test_plugin_helper.rb'
186
    - 'test/units/image_search_service_test.rb'
187

  
188
# Offense count: 2
189
# Cop supports --auto-correct.
190
# Configuration parameters: EnforcedStyle, SupportedStyles.
191
# SupportedStyles: final_newline, final_blank_line
192
Layout/TrailingBlankLines:
193
  Exclude:
194
    - 'app/services/foreman_docker/image_search.rb'
195
    - 'app/views/api/v2/registries/main.json.rabl'
196

  
197
# Offense count: 1
198
# Cop supports --auto-correct.
199
Layout/TrailingWhitespace:
200
  Exclude:
201
    - 'app/controllers/containers/steps_controller.rb'
202

  
9 203
# Offense count: 1
10 204
Lint/AmbiguousRegexpLiteral:
11 205
  Exclude:
......
22 216
  Max: 30
23 217

  
24 218
# Offense count: 14
25
# Configuration parameters: CountComments.
219
# Configuration parameters: CountComments, ExcludedMethods.
26 220
Metrics/BlockLength:
27 221
  Max: 130
28 222

  
......
55 249
    - 'app/controllers/containers_controller.rb'
56 250
    - 'app/controllers/registries_controller.rb'
57 251

  
252
# Offense count: 10
253
# Cop supports --auto-correct.
254
Rails/ApplicationRecord:
255
  Exclude:
256
    - 'app/models/container.rb'
257
    - 'app/models/docker_container_wizard_state.rb'
258
    - 'app/models/docker_container_wizard_states/configuration.rb'
259
    - 'app/models/docker_container_wizard_states/environment.rb'
260
    - 'app/models/docker_container_wizard_states/image.rb'
261
    - 'app/models/docker_container_wizard_states/preliminary.rb'
262
    - 'app/models/docker_parameter.rb'
263
    - 'app/models/docker_registry.rb'
264
    - 'db/migrate/20160605134652_move_parameters_to_docker_parameters.rb'
265

  
266
# Offense count: 2
267
# Cop supports --auto-correct.
268
# Configuration parameters: NilOrEmpty, NotPresent, UnlessPresent.
269
Rails/Blank:
270
  Exclude:
271
    - 'app/models/service/containers.rb'
272
    - 'app/services/foreman_docker/utility.rb'
273

  
58 274
# Offense count: 3
59 275
# Cop supports --auto-correct.
60 276
# Configuration parameters: Whitelist.
......
75 291
    - 'test/functionals/containers_controller_test.rb'
76 292
    - 'test/functionals/containers_steps_controller_test.rb'
77 293

  
78
# Offense count: 8
294
# Offense count: 3
79 295
# Cop supports --auto-correct.
80
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
81
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
82
Style/AlignHash:
296
# Configuration parameters: NotNilAndNotEmpty, NotBlank, UnlessBlank.
297
Rails/Present:
83 298
  Exclude:
84
    - 'app/models/docker_container_wizard_states/dns.rb'
85
    - 'app/models/docker_container_wizard_states/exposed_port.rb'
86
    - 'app/models/docker_registry.rb'
87
    - 'app/models/exposed_port.rb'
88
    - 'app/models/foreman_docker/dns.rb'
89
    - 'test/functionals/containers_steps_controller_test.rb'
299
    - 'app/models/docker_parameter.rb'
300
    - 'app/models/service/registry_api.rb'
90 301

  
91
# Offense count: 20
92
# Cop supports --auto-correct.
93
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
94
# SupportedStyles: with_first_parameter, with_fixed_indentation
95
Style/AlignParameters:
302
# Offense count: 2
303
# Configuration parameters: Blacklist.
304
# Blacklist: decrement!, decrement_counter, increment!, increment_counter, toggle!, touch, update_all, update_attribute, update_column, update_columns, update_counters
305
Rails/SkipsModelValidations:
96 306
  Exclude:
97
    - 'test/functionals/containers_controller_test.rb'
98
    - 'test/functionals/image_search_controller_test.rb'
99
    - 'test/units/container_remover_test.rb'
307
    - 'db/migrate/20141209182008_remove_docker_tables.rb'
100 308

  
101 309
# Offense count: 9
102 310
# Cop supports --auto-correct.
......
125 333

  
126 334
# Offense count: 1
127 335
# Cop supports --auto-correct.
128
Style/CommentIndentation:
129
  Exclude:
130
    - 'db/migrate/20160605134652_move_parameters_to_docker_parameters.rb'
131

  
132
# Offense count: 13
133
# Cop supports --auto-correct.
134
# Configuration parameters: EnforcedStyle, SupportedStyles.
135
# SupportedStyles: leading, trailing
136
Style/DotPosition:
137
  Exclude:
138
    - 'app/models/service/containers.rb'
139
    - 'app/services/foreman_docker/container_remover.rb'
140
    - 'test/functionals/api/v2/containers_controller_test.rb'
141
    - 'test/functionals/containers_controller_test.rb'
142
    - 'test/units/container_remover_test.rb'
143

  
144
# Offense count: 2
145
# Cop supports --auto-correct.
146
Style/EmptyLines:
147
  Exclude:
148
    - 'app/helpers/container_steps_helper.rb'
149
    - 'test/units/docker_container_wizard_states/image_test.rb'
150

  
151
# Offense count: 1
152
# Cop supports --auto-correct.
153
# Configuration parameters: EnforcedStyle, SupportedStyles.
154
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
155
Style/EmptyLinesAroundClassBody:
156
  Exclude:
157
    - 'app/models/docker_container_wizard_states/environment.rb'
158

  
159
# Offense count: 1
160
# Cop supports --auto-correct.
161 336
Style/EmptyLiteral:
162 337
  Exclude:
163 338
    - 'test/units/image_search_service_test.rb'
......
173 348
    - 'app/controllers/containers_controller.rb'
174 349
    - 'app/controllers/registries_controller.rb'
175 350

  
176
# Offense count: 5
351
# Offense count: 8
177 352
# Cop supports --auto-correct.
178
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
179
Style/ExtraSpacing:
353
# Configuration parameters: EnforcedStyle, SupportedStyles.
354
# SupportedStyles: format, sprintf, percent
355
Style/FormatString:
180 356
  Exclude:
181
    - 'app/models/concerns/foreman_docker/parameter_validators.rb'
182
    - 'app/models/docker_container_wizard_states/exposed_port.rb'
183
    - 'db/migrate/20160605133025_create_docker_parameters.rb'
184
    - 'test/functionals/image_search_controller_test.rb'
357
    - 'app/controllers/containers_controller.rb'
358
    - 'app/helpers/containers_helper.rb'
359
    - 'app/models/concerns/fog_extensions/fogdocker/server.rb'
360
    - 'app/models/docker_container_wizard_states/image.rb'
361

  
362
# Offense count: 15
363
# Configuration parameters: SupportedStyles.
364
# SupportedStyles: annotated, template
365
Style/FormatStringToken:
366
  EnforcedStyle: template
185 367

  
186 368
# Offense count: 1
187 369
# Cop supports --auto-correct.
......
190 372
  Exclude:
191 373
    - 'app/models/service/containers.rb'
192 374

  
193
# Offense count: 8
194
# Cop supports --auto-correct.
195
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
196
# SupportedStyles: special_inside_parentheses, consistent, align_braces
197
Style/IndentHash:
198
  Exclude:
199
    - 'app/controllers/image_search_controller.rb'
200
    - 'test/functionals/containers_steps_controller_test.rb'
201

  
202
# Offense count: 1
203
# Cop supports --auto-correct.
204
# Configuration parameters: Width.
205
Style/IndentationWidth:
206
  Exclude:
207
    - 'db/migrate/20160605134652_move_parameters_to_docker_parameters.rb'
208

  
209 375
# Offense count: 4
210 376
# Cop supports --auto-correct.
211 377
Style/LineEndConcatenation:
212 378
  Exclude:
213 379
    - 'app/controllers/api/v2/containers_controller.rb'
214 380

  
215
# Offense count: 2
216
# Cop supports --auto-correct.
217
# Configuration parameters: EnforcedStyle, SupportedStyles.
218
# SupportedStyles: symmetrical, new_line, same_line
219
Style/MultilineArrayBraceLayout:
220
  Exclude:
221
    - 'app/controllers/containers/steps_controller.rb'
222
    - 'lib/foreman_docker/engine.rb'
223

  
224 381
# Offense count: 1
225 382
Style/MultilineBlockChain:
226 383
  Exclude:
227 384
    - 'app/models/service/registry_api.rb'
228 385

  
229
# Offense count: 7
230
# Cop supports --auto-correct.
231
# Configuration parameters: EnforcedStyle, SupportedStyles.
232
# SupportedStyles: symmetrical, new_line, same_line
233
Style/MultilineHashBraceLayout:
234
  Exclude:
235
    - 'app/controllers/api/v2/containers_controller.rb'
236
    - 'app/models/docker_container_wizard_state.rb'
237
    - 'app/models/docker_container_wizard_states/dns.rb'
238
    - 'app/models/foreman_docker/dns.rb'
239
    - 'test/functionals/containers_steps_controller_test.rb'
240
    - 'test/functionals/image_search_controller_test.rb'
241

  
242
# Offense count: 17
243
# Cop supports --auto-correct.
244
# Configuration parameters: EnforcedStyle, SupportedStyles.
245
# SupportedStyles: symmetrical, new_line, same_line
246
Style/MultilineMethodCallBraceLayout:
247
  Exclude:
248
    - 'app/controllers/api/v2/containers_controller.rb'
249
    - 'app/controllers/concerns/foreman/controller/parameters/docker_registry.rb'
250
    - 'app/controllers/containers/steps_controller.rb'
251
    - 'app/controllers/containers_controller.rb'
252
    - 'app/helpers/containers_helper.rb'
253
    - 'app/models/docker_container_wizard_states/preliminary.rb'
254
    - 'app/models/docker_registry.rb'
255
    - 'app/models/service/containers.rb'
256
    - 'test/functionals/containers_controller_test.rb'
257
    - 'test/units/container_remover_test.rb'
258
    - 'test/units/containers_service_test.rb'
259

  
260
# Offense count: 43
261
# Cop supports --auto-correct.
262
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
263
# SupportedStyles: aligned, indented, indented_relative_to_receiver
264
Style/MultilineMethodCallIndentation:
265
  Exclude:
266
    - 'app/controllers/api/v2/containers_controller.rb'
267
    - 'app/controllers/api/v2/registries_controller.rb'
268
    - 'app/controllers/concerns/foreman_docker/find_container.rb'
269
    - 'app/controllers/image_search_controller.rb'
270
    - 'app/controllers/registries_controller.rb'
271
    - 'app/helpers/container_steps_helper.rb'
272
    - 'app/helpers/containers_helper.rb'
273
    - 'app/models/service/containers.rb'
274
    - 'test/functionals/api/v2/containers_controller_test.rb'
275
    - 'test/functionals/containers_controller_test.rb'
276
    - 'test/functionals/containers_steps_controller_test.rb'
277
    - 'test/functionals/image_search_controller_test.rb'
278
    - 'test/units/containers_service_test.rb'
279
    - 'test/units/docker_registry_test.rb'
280
    - 'test/units/image_search_service_test.rb'
281

  
282
# Offense count: 4
283
# Cop supports --auto-correct.
284
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
285
# SupportedStyles: aligned, indented
286
Style/MultilineOperationIndentation:
287
  Exclude:
288
    - 'app/controllers/api/v2/containers_controller.rb'
289
    - 'app/controllers/containers_controller.rb'
290

  
291 386
# Offense count: 2
292 387
# Cop supports --auto-correct.
293 388
Style/MutableConstant:
......
305 400
    - 'app/helpers/container_steps_helper.rb'
306 401
    - 'test/functionals/containers_steps_controller_test.rb'
307 402

  
403
# Offense count: 8
404
# Cop supports --auto-correct.
405
# Configuration parameters: PreferredDelimiters.
406
Style/PercentLiteralDelimiters:
407
  Exclude:
408
    - 'app/controllers/api/v2/containers_controller.rb'
409
    - 'app/controllers/api/v2/registries_controller.rb'
410
    - 'app/models/docker_container_wizard_states/exposed_port.rb'
411
    - 'app/models/exposed_port.rb'
412
    - 'app/models/foreman_docker/taxonomy_extensions.rb'
413
    - 'lib/foreman_docker/engine.rb'
414
    - 'test/functionals/api/v2/containers_controller_test.rb'
415
    - 'test/functionals/api/v2/registries_controller_test.rb'
416

  
308 417
# Offense count: 2
309 418
# Cop supports --auto-correct.
310 419
Style/RedundantParentheses:
......
329 438
    - 'app/services/foreman_docker/utility.rb'
330 439
    - 'db/migrate/20141209182008_remove_docker_tables.rb'
331 440

  
332
# Offense count: 1
333
# Configuration parameters: Methods.
334
# Methods: {"reduce"=>["acc", "elem"]}, {"inject"=>["acc", "elem"]}
335
Style/SingleLineBlockParams:
336
  Exclude:
337
    - 'app/models/concerns/fog_extensions/fogdocker/images.rb'
338

  
339
# Offense count: 4
340
# Cop supports --auto-correct.
341
# Configuration parameters: AllowForAlignment.
342
Style/SpaceAroundOperators:
343
  Exclude:
344
    - 'app/controllers/containers_controller.rb'
345
    - 'app/models/concerns/foreman_docker/parameter_validators.rb'
346
    - 'test/functionals/image_search_controller_test.rb'
347

  
348
# Offense count: 1
349
# Cop supports --auto-correct.
350
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
351
# SupportedStyles: space, no_space
352
Style/SpaceInsideBlockBraces:
353
  Exclude:
354
    - 'test/functionals/image_search_controller_test.rb'
355

  
356
# Offense count: 11
441
# Offense count: 29
357 442
# Cop supports --auto-correct.
358
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
359
# SupportedStyles: space, no_space, compact
360
Style/SpaceInsideHashLiteralBraces:
361
  Exclude:
362
    - 'app/models/service/registry_api.rb'
363
    - 'test/functionals/api/v2/containers_controller_test.rb'
364
    - 'test/functionals/containers_steps_controller_test.rb'
365
    - 'test/functionals/image_search_controller_test.rb'
366
    - 'test/test_plugin_helper.rb'
367
    - 'test/units/image_search_service_test.rb'
368

  
369
# Offense count: 1
370
# Cop supports --auto-correct.
371
# Configuration parameters: EnforcedStyle, SupportedStyles.
372
# SupportedStyles: final_newline, final_blank_line
373
Style/TrailingBlankLines:
374
  Exclude:
375
    - 'app/services/foreman_docker/image_search.rb'
443
# Configuration parameters: MinSize, SupportedStyles.
444
# SupportedStyles: percent, brackets
445
Style/SymbolArray:
446
  EnforcedStyle: brackets
376 447

  
377 448
# Offense count: 2
378 449
# Cop supports --auto-correct.
379
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
380
# SupportedStyles: comma, consistent_comma, no_comma
450
# Configuration parameters: EnforcedStyleForMultiline, SupportedStylesForMultiline.
451
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
381 452
Style/TrailingCommaInLiteral:
382 453
  Exclude:
383 454
    - 'app/models/docker_container_wizard_states/image.rb'
......
385 456

  
386 457
# Offense count: 1
387 458
# Cop supports --auto-correct.
388
Style/TrailingWhitespace:
389
  Exclude:
390
    - 'app/controllers/containers/steps_controller.rb'
391

  
392
# Offense count: 1
393
# Cop supports --auto-correct.
394 459
Style/UnlessElse:
395 460
  Exclude:
396 461
    - 'app/services/foreman_docker/image_search.rb'

Also available in: Unified diff