From: Tom Hughes Date: Fri, 20 Feb 2015 19:17:21 +0000 (+0000) Subject: Standardise on "hash rocket" style for hashes X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/20eed1b438a2f662a9e64c50dc2be36ccace6302 Standardise on "hash rocket" style for hashes --- diff --git a/.rubocop.yml b/.rubocop.yml index f9eb73942..54dd4f715 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,6 +4,9 @@ Style/AlignParameters: Exclude: - '**/metadata.rb' +Style/HashSyntax: + EnforcedStyle: hash_rockets + Style/SingleSpaceBeforeFirstArg: Exclude: - '**/metadata.rb' diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index eab32f0dd..a6fa2af25 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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: