Enable Style/OpenStructUse cop

This commit is contained in:
Douglas Eichelberger 2023-02-27 08:51:21 -08:00
parent 7c15dce285
commit e6ddf8c958

View File

@ -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: