Skip to content

Commit

Permalink
generate rubocop todo config
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Jan 17, 2022
1 parent 10dcb60 commit 535e23b
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
inherit_from: .rubocop_todo.yml

# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

Expand Down
112 changes: 112 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-01-17 09:39:27 UTC using RuboCop version 1.22.3.
# 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: 1
# Cop supports --auto-correct.
Layout/CommentIndentation:
Exclude:
- 'lib/puppet/provider/cs_location/pcs.rb'

# Offense count: 4
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
Lint/DuplicateBranch:
Exclude:
- 'lib/puppet/provider/cs_primitive/pcs.rb'
- 'spec/spec_helper_acceptance.rb'
- 'spec/spec_helper_corosync.rb'

# Offense count: 1
# Cop supports --auto-correct.
Lint/RedundantCopDisableDirective:
Exclude:
- 'lib/puppet/provider/cs_colocation/pcs.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowedMethods.
# AllowedMethods: instance_of?, kind_of?, is_a?, eql?, respond_to?, equal?
Lint/RedundantSafeNavigation:
Exclude:
- 'lib/puppet/provider/cs_primitive/crm.rb'
- 'lib/puppet/provider/cs_primitive/pcs.rb'

# Offense count: 1
# Cop supports --auto-correct.
Lint/RedundantStringCoercion:
Exclude:
- 'lib/puppet/provider/cs_rsc_defaults/pcs.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowedMethods.
# AllowedMethods: present?, blank?, presence, try, try!
Lint/SafeNavigationConsistency:
Exclude:
- 'lib/puppet/provider/cs_primitive/crm.rb'
- 'lib/puppet/provider/cs_primitive/pcs.rb'

# Offense count: 1
# Configuration parameters: CheckForMethodsWithNoSideEffects.
Lint/Void:
Exclude:
- 'lib/puppet/type/cs_colocation.rb'

# Offense count: 13
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
Exclude:
- 'lib/puppet/provider/cs_colocation/pcs.rb'
- 'lib/puppet/provider/cs_primitive/crm.rb'
- 'lib/puppet/provider/cs_primitive/pcs.rb'
- 'lib/puppet/type/cs_commit.rb'
- 'lib/puppet/type/cs_group.rb'
- 'lib/puppet/type/cs_location.rb'
- 'lib/puppet/type/cs_primitive.rb'
- 'lib/puppet/type/cs_property.rb'
- 'lib/puppet/type/cs_shadow.rb'
- 'lib/puppet_x/voxpupuli/corosync/provider/cib_helper.rb'

# Offense count: 1
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
Naming/VariableNumber:
Exclude:
- 'lib/puppet_x/voxpupuli/corosync/provider/pcs.rb'

# Offense count: 1
RSpec/EmptyExampleGroup:
Exclude:
- 'spec/classes/corosync_qdevice_spec.rb'

# Offense count: 1
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 10

# Offense count: 4
RSpec/RepeatedExampleGroupBody:
Exclude:
- 'spec/acceptance/basic_spec.rb'
- 'spec/acceptance/corosync_class_spec.rb'

# Offense count: 3
# Cop supports --auto-correct.
Style/CaseLikeIf:
Exclude:
- 'lib/puppet/provider/cs_colocation/pcs.rb'

# Offense count: 7
# Configuration parameters: AllowedMethods.
# AllowedMethods: respond_to_missing?
Style/OptionalBooleanParameter:
Exclude:
- 'lib/puppet_x/voxpupuli/corosync/provider/cib_helper.rb'
- 'lib/puppet_x/voxpupuli/corosync/provider/crmsh.rb'
- 'lib/puppet_x/voxpupuli/corosync/provider/pcs.rb'

0 comments on commit 535e23b

Please sign in to comment.