Skip to content
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

Fix a false positive for Style/StringLiterals #10229

Merged

Commits on Nov 2, 2021

  1. Fix a false positive for Style/StringLiterals

    Follow up to rubocop#10166 (comment).
    
    This PR fixes a false positive for `Style/StringLiterals` when `EnforcedStyle: double_quotes`
    and using single quoted string with backslash.
    It has moved a separate implementation for `Style/QuotedSymbols` to resolve rubocop#10152 to
    `Style/QuotedSymbols` to prevent impact on `Style/StringLiterals`'s false positives.
    koic committed Nov 2, 2021
    Copy the full SHA
    b2fe007 View commit details
    Browse the repository at this point in the history