-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use Style/RegexpLiteral correctly #168
Comments
While I personally prefer |
I prefed slashes some time ago, but escaping changed my mind, thats why I vote for percent_r. |
I am concerned how it might affect those contributing to us, they'll need to do more rebases likely and it could put some people off. |
I vote for percent_r for the same reasons, although // is more pleasant. |
I prefer |
We got a few opinions here and it seems to tend to percent_r. I created a PR for that. |
Way late to this party. But, I personally prefer
|
Retroactive 👍 for It's unfortunate the Puppet language itself doesn't support |
we enable Style/RegexpLiteral in our rubocop config. this cop has a few possible stlyes that you have to enfoce with EnforcedStyle which we don't do. this often results in a cop loop. I prefer
EnforcedStyle: percent_r
, any other opinions?documentation at http://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/RegexpLiteral
The text was updated successfully, but these errors were encountered: