]> git.openstreetmap.org Git - chef.git/commitdiff
Standardise on "hash rocket" style for hashes
authorTom Hughes <tom@compton.nu>
Fri, 20 Feb 2015 19:17:21 +0000 (19:17 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 20 Feb 2015 19:17:21 +0000 (19:17 +0000)
.rubocop.yml
.rubocop_todo.yml

index f9eb7394239a2bdf5e00a9347398ce61e5a1de00..54dd4f715d12ea80b249066b3d2f0b1a39938034 100644 (file)
@@ -4,6 +4,9 @@ Style/AlignParameters:
   Exclude:
     - '**/metadata.rb'
 
+Style/HashSyntax:
+  EnforcedStyle: hash_rockets
+
 Style/SingleSpaceBeforeFirstArg:
   Exclude:
     - '**/metadata.rb'
index eab32f0ddaf7eaf8cb61c060353dd4fa163d8ccf..a6fa2af254dc7c39e2232b855e65f4274fa883b5 100644 (file)
@@ -40,12 +40,6 @@ Style/Documentation:
 Style/FileName:
   Enabled: false
 
-# Offense count: 3116
-# Cop supports --auto-correct.
-# Configuration parameters: SupportedStyles.
-Style/HashSyntax:
-  EnforcedStyle: hash_rockets
-
 # Offense count: 15
 # Configuration parameters: MaxLineLength.
 Style/IfUnlessModifier: