From: Tom Hughes Date: Tue, 3 Feb 2015 17:23:54 +0000 (+0000) Subject: Disable parameter alignment checks for metadata files X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/b74f737a0446d214020f517ca4edaa54a0921cf4?hp=21958591555b0b80370e944e3128ac5d533c281d Disable parameter alignment checks for metadata files --- diff --git a/.rubocop.yml b/.rubocop.yml index 23ca686a8..f11a7d911 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,9 @@ inherit_from: .rubocop_todo.yml +Style/AlignParameters: + Exclude: + - '**/metadata.rb' + Style/SingleSpaceBeforeFirstArg: Exclude: - '**/metadata.rb' diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a30c81053..fd40acb79 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -42,12 +42,6 @@ Metrics/PerceivedComplexity: Style/AccessModifierIndentation: EnforcedStyle: outdent -# Offense count: 60 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles. -Style/AlignParameters: - Enabled: false - # Offense count: 14 Style/Documentation: Enabled: false