From 20eed1b438a2f662a9e64c50dc2be36ccace6302 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 20 Feb 2015 19:17:21 +0000 Subject: [PATCH] Standardise on "hash rocket" style for hashes --- .rubocop.yml | 3 +++ .rubocop_todo.yml | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) 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: -- 2.39.5