Skip to content

Commit

Permalink
update rubocop config
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Nov 16, 2022
1 parent 771d4bb commit b712e0c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 23 deletions.
23 changes: 2 additions & 21 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-01-17 09:39:27 UTC using RuboCop version 1.22.3.
# on 2022-11-16 15:12:16 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
Expand Down Expand Up @@ -56,20 +56,15 @@ Lint/Void:
Exclude:
- 'lib/puppet/type/cs_colocation.rb'

# Offense count: 13
# Offense count: 5
# 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
Expand All @@ -80,11 +75,6 @@ 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:
Expand All @@ -101,12 +91,3 @@ RSpec/RepeatedExampleGroupBody:
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'
2 changes: 1 addition & 1 deletion lib/puppet/provider/cs_colocation/crm.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: true
# frozen_string_literal: false

begin
require 'puppet_x/voxpupuli/corosync/provider/crmsh'
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/cs_primitive/crm.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: true
# frozen_string_literal: false

begin
require 'puppet_x/voxpupuli/corosync/provider/crmsh'
Expand Down

0 comments on commit b712e0c

Please sign in to comment.