aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2016-08-17 16:54:07 +0100
committerDominyk Tiller2016-08-17 16:54:42 +0100
commitdb2e9b8375535f5cb71b5974909bc0fcc3d29e9d (patch)
treec94b9f6f6f05b84cfefa208b586b2ae166d2ad8f /Library
parent8b04d43291bc60a88b2abf3ff9b32bd514f76399 (diff)
downloadbrew-db2e9b8375535f5cb71b5974909bc0fcc3d29e9d.tar.bz2
rubocop: reinstate hash_rockets
Temporarily.
Diffstat (limited to 'Library')
-rw-r--r--Library/.rubocop.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml
index 86cff402b..343362d62 100644
--- a/Library/.rubocop.yml
+++ b/Library/.rubocop.yml
@@ -3,6 +3,12 @@ AllCops:
- 'Homebrew/vendor/**/*'
- 'Homebrew/test/vendor/**/*'
+# Whilst we now can handle the newer hash syntax of 1.9+ the
+# hash rockets are everywhere & it'd be good to change this more
+# consistently than piecemeal.
+Style/HashSyntax:
+ EnforcedStyle: hash_rockets
+
# ruby style guide favorite
Style/StringLiterals:
EnforcedStyle: double_quotes