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 f9eb739..54dd4f7 100644 (file)
@@ -4,6 +4,9 @@ Style/AlignParameters:
   Exclude:
     - '**/metadata.rb'
 
+Style/HashSyntax:
+  EnforcedStyle: hash_rockets
+
 Style/SingleSpaceBeforeFirstArg:
   Exclude:
     - '**/metadata.rb'
index eab32f0..a6fa2af 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: