We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently (0.26.1), this snippet
words_array = ['words', 'here'] emails_array = ['an@email.tld', 'another@email.too']
will be auto corrected to:
words_array = %w(words here) emails_array = ['an@email.tld', 'another@email.too']
while ideally it would result to
words_array = %w(words here) emails_array = %w(an@email.tld another@email.too)
The text was updated successfully, but these errors were encountered:
Proposed fix in PR #1371.
Sorry, something went wrong.
[Fix rubocop#1352] Add regexp configuration to WordArray
ecd75e5
The Style/WordArray cop can now be configured with the WordCharacters option. Its value must be a Regexp character class (as a string).
Successfully merging a pull request may close this issue.
Currently (0.26.1), this snippet
will be auto corrected to:
while ideally it would result to
The text was updated successfully, but these errors were encountered: