Skip to content

Drop leading spaces in rubocop extensions:

Steve Traylen requested to merge spaces into master

As per INC3673300 with a sync.yml config of:

code/.rubocop.yml:
  unmanaged: false
  extra:
    Layout/EmptyLineAfterGuardClause:
      Enabled: False
    Metrics/BlockLength:
      Enabled: False
    Style/ClassAndModuleChildren:
      Enabled: False
    Style/Documentation:
      Enabled: False
    Style/IfUnlessModifier:
      Enabled: False

it was generating a rubocop.yml file of

inherit_gem:
  voxpupuli-test: rubocop.yml
  Layout/EmptyLineAfterGuardClause:
  Enabled: false
Metrics/BlockLength:
  Enabled: false

with a couple of extra spaces in front of Layout/EmptyLineAfterGuardClause

Stop doing that.

Also exercise this addition with it-puppet-module-ci_images!122 (merged) to check it works.

Merge request reports