From 7abc0aaa742a67228643c8fc5f890487591d6c9a Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sun, 12 Feb 2017 11:28:39 +0100 Subject: [PATCH] Use `--force-default-config` option for `brew cask style`. --- Library/Homebrew/cask/lib/hbc/cli/style.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/cask/lib/hbc/cli/style.rb b/Library/Homebrew/cask/lib/hbc/cli/style.rb index d3e44382de..a64a1dbe71 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/style.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/style.rb @@ -54,9 +54,9 @@ module Hbc def default_args [ "--require", "rubocop-cask", - "--config", "/dev/null", # always use `rubocop-cask` default config - "--format", "simple", - "--force-exclusion" + "--force-default-config", + "--force-exclusion", + "--format", "simple" ] end