Merge pull request #10634 from Rylan12/regex-parens

style: require parentheses around regex arguments
This commit is contained in:
Rylan Polster 2021-02-19 14:39:25 -05:00 committed by GitHub
commit 5ca03ab4e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,14 +261,6 @@ Naming/MemoizedInstanceVariableName:
Exclude:
- "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
Lint/ConstantDefinitionInBlock:
Exclude: