From f796fe794d2827d61feb4eb7509697f2312ed7d9 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 2 Nov 2016 21:49:05 -0400 Subject: [PATCH] rubocop: exclude more tap dirs from hash rockets. This is useful for e.g. homebrew/bundle that doesn't live in just `cmd`. --- Library/.rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 289f53c598..c77d55f671 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -88,7 +88,10 @@ Style/GuardClause: Style/HashSyntax: EnforcedStyle: hash_rockets Exclude: + - '**/bin/**/*' - '**/cmd/**/*' + - '**/lib/**/*' + - '**/spec/**/*' # disabled until it respects line length Style/IfUnlessModifier: