diff options
| author | ilovezfs | 2018-01-21 07:43:44 -0800 | 
|---|---|---|
| committer | GitHub | 2018-01-21 07:43:44 -0800 | 
| commit | 97f0ef4c49d0f2f2a62a82e7ca21945d7cbe2c7c (patch) | |
| tree | 37c18465299ecbe2562a5022d5d0501058418258 | |
| parent | c8423b6d6e6c0acb5fba2e70b03f156e1ffae06e (diff) | |
| parent | da77f23bc7007628f000ca4854902c8dcef0a27d (diff) | |
| download | brew-97f0ef4c49d0f2f2a62a82e7ca21945d7cbe2c7c.tar.bz2 | |
Merge pull request #3710 from ilovezfs/rubocop-no-display-cop-names-default
rubocop: don't always display cop names.
| -rw-r--r-- | Library/.rubocop.yml | 1 | ||||
| -rw-r--r-- | Library/Homebrew/test/cmd/style_spec.rb | 2 | 
2 files changed, 2 insertions, 1 deletions
| diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index d93d1bd8b..f43fbe54c 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -3,6 +3,7 @@ AllCops:    Exclude:      - '**/Casks/**/*'      - '**/vendor/**/*' +  DisplayCopNames: false  require: ./Homebrew/rubocops.rb diff --git a/Library/Homebrew/test/cmd/style_spec.rb b/Library/Homebrew/test/cmd/style_spec.rb index 61faa4af2..5c118f32e 100644 --- a/Library/Homebrew/test/cmd/style_spec.rb +++ b/Library/Homebrew/test/cmd/style_spec.rb @@ -28,7 +28,7 @@ describe "brew style" do        rubocop_result = Homebrew.check_style_json([formula])        expect(rubocop_result.file_offenses(formula.realpath.to_s).map(&:message)) -        .to include("Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body beginning.") +        .to include("Extra empty line detected at class body beginning.")      end    end  end | 
