diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index f8c0bf1a5e..a93407e047 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -298,7 +298,8 @@ Style/DocumentationMethod: Style/FrozenStringLiteralComment: EnforcedStyle: always Exclude: - - 'Taps/*/*/{Formula/,Casks/,}*.rb' + - 'Taps/*/*/{Formula,Casks,}/*.rb' + - 'Homebrew/test/**/Casks/**/*.rb' # TODO: remove this when possible. Style/GlobalVars: