Don't try to Rubocop vendored files.

This commit is contained in:
Mike McQuaid 2015-08-02 14:56:01 +01:00 committed by Xu Cheng
parent b22d899d3a
commit e4ef7f8cb7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
AllCops:
Exclude:
- 'Homebrew/vendor/**/*'
- 'Homebrew/test/vendor/**/*'
# 1.8-style hash keys # 1.8-style hash keys
Style/HashSyntax: Style/HashSyntax:
EnforcedStyle: hash_rockets EnforcedStyle: hash_rockets

View File

@ -9,7 +9,7 @@ module Homebrew
Homebrew.install_gem_setup_path! "rubocop", "0.32.1" Homebrew.install_gem_setup_path! "rubocop", "0.32.1"
args = [ args = [
"--format", "simple", "--config", "--format", "simple", "--force-exclusion", "--config",
"#{HOMEBREW_LIBRARY}/.rubocop.yml" "#{HOMEBREW_LIBRARY}/.rubocop.yml"
] ]