aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-11-02 21:49:05 -0400
committerMike McQuaid2016-11-02 21:49:05 -0400
commitf796fe794d2827d61feb4eb7509697f2312ed7d9 (patch)
tree94cda29fc2a41f738aff22564fa6cbf1486e1276 /Library
parent82d1269c9feaf29998d6161de9057a5e88698667 (diff)
downloadbrew-f796fe794d2827d61feb4eb7509697f2312ed7d9.tar.bz2
rubocop: exclude more tap dirs from hash rockets.
This is useful for e.g. homebrew/bundle that doesn't live in just `cmd`.
Diffstat (limited to 'Library')
-rw-r--r--Library/.rubocop.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml
index 289f53c59..c77d55f67 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: