diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 78dd2c2e74..2904a7fa9f 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -425,9 +425,16 @@ Style/NumericLiterals: Exclude: - "**/Brewfile" -# OpenStruct is a nice helper. +# TODO: These are pre-existing violations and should be fixed. Style/OpenStructUse: - Enabled: false + Exclude: + - "Homebrew/cli/args.rb" + - "Homebrew/cmd/uses.rb" + - "Homebrew/completions.rb" + - "Homebrew/manpages.rb" + - "Homebrew/tab.rb" + - "Homebrew/test/api/cask_spec.rb" + - "Homebrew/test/api_spec.rb" # Rescuing `StandardError` is an understood default. Style/RescueStandardError: