-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
106 lines (94 loc) · 3.67 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2018-09-13 15:11:07 -0400 using RuboCop version 0.59.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
# Cop supports --auto-correct.
Layout/EmptyLineAfterGuardClause:
Exclude:
- 'app/helpers/concerns/foreman_m2/images_helper_extensions.rb'
- 'app/models/concerns/foreman_m2/nic_orchestration_extensions.rb'
# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: aligned, indented
Layout/MultilineOperationIndentation:
Exclude:
- 'app/helpers/concerns/foreman_m2/images_helper_extensions.rb'
- 'app/models/concerns/foreman_m2/host_extensions.rb'
- 'app/models/concerns/foreman_m2/host_orchestration_extensions.rb'
- 'foreman_m2.gemspec'
# Offense count: 26
# Cop supports --auto-correct.
# Configuration parameters: AllowInHeredoc.
Layout/TrailingWhitespace:
Exclude:
- 'app/helpers/concerns/foreman_m2/images_helper_extensions.rb'
- 'app/models/concerns/foreman_m2/host_extensions.rb'
- 'app/models/concerns/foreman_m2/host_orchestration_extensions.rb'
- 'app/models/concerns/foreman_m2/nic_orchestration_extensions.rb'
- 'db/seeds.d/071-m2_prov_templates.rb'
- 'test/test_plugin_helper.rb'
# Offense count: 1
Lint/UselessAssignment:
Exclude:
- 'app/models/concerns/foreman_m2/host_extensions.rb'
# Offense count: 1
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
Max: 48
# Offense count: 3
Metrics/CyclomaticComplexity:
Max: 10
# Offense count: 3
Metrics/PerceivedComplexity:
Max: 11
# Offense count: 1
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at, ip, db
Naming/UncommunicativeMethodParamName:
Exclude:
- 'app/helpers/concerns/foreman_m2/images_helper_extensions.rb'
# Offense count: 4
# Configuration parameters: EnforcedStyle.
# SupportedStyles: snake_case, camelCase
Naming/VariableName:
Exclude:
- 'app/controllers/foreman_m2/hosts_controller.rb'
- 'app/models/concerns/foreman_m2/host_extensions.rb'
- 'app/models/foreman_m2/m2.rb'
# Offense count: 2
# Configuration parameters: EnforcedStyle.
# SupportedStyles: annotated, template, unannotated
Style/FormatStringToken:
Exclude:
- 'app/models/concerns/foreman_m2/host_orchestration_extensions.rb'
# Offense count: 69
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
Style/HashSyntax:
Exclude:
- 'app/controllers/foreman_m2/hosts_controller.rb'
- 'app/helpers/concerns/foreman_m2/images_helper_extensions.rb'
- 'app/lib/proxy_api/m2.rb'
- 'app/models/concerns/foreman_m2/host_extensions.rb'
- 'app/models/concerns/foreman_m2/nic_extensions.rb'
- 'app/models/concerns/foreman_m2/nic_orchestration_extensions.rb'
- 'app/overrides/give_ids.rb'
- 'app/overrides/hybrid_js.rb'
- 'db/seeds.d/071-m2_prov_templates.rb'
- 'db/seeds.d/111-m2_sp_features.rb'
- 'lib/foreman_m2/engine.rb'
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinBodyLength.
# SupportedStyles: skip_modifier_ifs, always
Style/Next:
Exclude:
- 'app/models/concerns/foreman_m2/host_extensions.rb'
- 'rename.rb'