diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 88347ce3f1..a53fd285f8 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -374,7 +374,7 @@ Style/NumericLiterals: Style/OpenStructUse: Exclude: - - "Taps/**/*.rb" + - "Taps/**/*" # TODO: This is a pre-existing violation and should be corrected # to define methods so that call sites can be type-checked. - "Homebrew/cli/args.rb" @@ -427,7 +427,7 @@ Style/TernaryParentheses: Style/TopLevelMethodDefinition: Enabled: true Exclude: - - "Taps/**/*.rb" + - "Taps/**/*" # Trailing commas make diffs nicer. Style/TrailingCommaInArguments: