Don't try to Rubocop vendored files.
This commit is contained in:
parent
b22d899d3a
commit
e4ef7f8cb7
@ -1,3 +1,8 @@
|
||||
AllCops:
|
||||
Exclude:
|
||||
- 'Homebrew/vendor/**/*'
|
||||
- 'Homebrew/test/vendor/**/*'
|
||||
|
||||
# 1.8-style hash keys
|
||||
Style/HashSyntax:
|
||||
EnforcedStyle: hash_rockets
|
||||
|
||||
@ -9,7 +9,7 @@ module Homebrew
|
||||
Homebrew.install_gem_setup_path! "rubocop", "0.32.1"
|
||||
|
||||
args = [
|
||||
"--format", "simple", "--config",
|
||||
"--format", "simple", "--force-exclusion", "--config",
|
||||
"#{HOMEBREW_LIBRARY}/.rubocop.yml"
|
||||
]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user