]> git.openstreetmap.org Git - chef.git/commitdiff
Disable parameter alignment checks for metadata files
authorTom Hughes <tom@compton.nu>
Tue, 3 Feb 2015 17:23:54 +0000 (17:23 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 3 Feb 2015 17:23:54 +0000 (17:23 +0000)
.rubocop.yml
.rubocop_todo.yml

index 23ca686a814f11f40ef35a389f9394d47a32cc32..f11a7d911ffd033ca98829ec8699376be1b1d895 100644 (file)
@@ -1,5 +1,9 @@
 inherit_from: .rubocop_todo.yml
 
+Style/AlignParameters:
+  Exclude:
+    - '**/metadata.rb'
+
 Style/SingleSpaceBeforeFirstArg:
   Exclude:
     - '**/metadata.rb'
index a30c810537ec257123d557aca1b15b2b05016c28..fd40acb79a7c1bec6b5979d91096a3f9eb1531d6 100644 (file)
@@ -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