From 98c082ca946597557ddd915d19da1376b502400d Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Mon, 8 Nov 2021 03:11:39 +0000 Subject: [PATCH] style: ignore SC2310-2312 for now --- Library/Homebrew/style.rb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/style.rb b/Library/Homebrew/style.rb index 872004000c..c240798dfb 100644 --- a/Library/Homebrew/style.rb +++ b/Library/Homebrew/style.rb @@ -167,7 +167,16 @@ module Homebrew def run_shellcheck(files, output_type) files = shell_scripts if files.blank? - args = ["--shell=bash", "--enable=all", "--external-sources", "--source-path=#{HOMEBREW_LIBRARY}", "--", *files] + args = [ + "--shell=bash", + "--enable=all", + "--external-sources", + "--source-path=#{HOMEBREW_LIBRARY}", + # TODO: fix these + "--exclude=SC2310,SC2311,SC2312", + "--", + *files, + ] case output_type when :print