|
# This configuration was generated by
|
|
# `rubocop --auto-gen-config`
|
|
# on 2020-01-29 19:47:51 +0100 using RuboCop version 0.75.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
|
|
# Configuration parameters: AllowComments.
|
|
Lint/HandleExceptions:
|
|
Exclude:
|
|
- 'lib/foreman_xen/vnc_tunnel.rb'
|
|
|
|
# Offense count: 2
|
|
Lint/RescueException:
|
|
Exclude:
|
|
- 'lib/foreman_xen/vnc_tunnel.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
|
Lint/UnusedBlockArgument:
|
|
Exclude:
|
|
- 'lib/foreman_xen/engine.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
|
|
Lint/UnusedMethodArgument:
|
|
Exclude:
|
|
- 'app/models/concerns/fog_extensions/xenserver/server.rb'
|
|
|
|
# Offense count: 4
|
|
Lint/UselessAssignment:
|
|
Exclude:
|
|
- 'lib/foreman_xen/vnc_tunnel.rb'
|
|
|
|
# Offense count: 16
|
|
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
|
# AllowedNames: io, id, to, by, on, in, at, ip, db
|
|
Naming/UncommunicativeMethodParamName:
|
|
Exclude:
|
|
- 'app/helpers/xen_compute_helper.rb'
|
|
- 'app/models/foreman_xen/xenserver.rb'
|
|
|
|
# Offense count: 23
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: always, never
|
|
Style/FrozenStringLiteralComment:
|
|
Enabled: false
|
|
|
|
# Offense count: 9
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: implicit, explicit
|
|
Style/RescueStandardError:
|
|
Exclude:
|
|
- 'app/models/foreman_xen/xenserver.rb'
|
|
- 'lib/foreman_xen/engine.rb'
|