style: require parentheses around regex arguments

This commit is contained in:
Rylan Polster 2021-02-16 11:13:42 -05:00
parent 63175498ed
commit 3edf569f7e
No known key found for this signature in database
GPG Key ID: 46A744940CFF4D64

View File

@ -261,14 +261,6 @@ Naming/MemoizedInstanceVariableName:
Exclude: Exclude:
- "Homebrew/lazy_object.rb" - "Homebrew/lazy_object.rb"
# so many of these in formulae and can't be autocorrected
# TODO: fix these as `ruby -w` complains about them.
Lint/AmbiguousRegexpLiteral:
Exclude:
- "Taps/*/*/*.rb"
- "/**/Formula/*.rb"
- "**/Formula/*.rb"
# useful for metaprogramming in RSpec # useful for metaprogramming in RSpec
Lint/ConstantDefinitionInBlock: Lint/ConstantDefinitionInBlock:
Exclude: Exclude: