-
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
10dcb60
commit 535e23b
Showing
2 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |