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

Layout/SpaceInsideStringInterpolation-20230210233544 #818

Merged
merged 4 commits into from Feb 14, 2023

Conversation

github-actions[bot]
Copy link
Contributor

Rubocop challenge!

Layout/SpaceInsideStringInterpolation

Safe autocorrect: Yes
✅ The autocorrect a cop does is safe (equivalent) by design.

Description

Overview

Checks for whitespace within string interpolations.

Examples

EnforcedStyle: no_space (default)

# bad
   var = "This is the #{ space } example"

# good
   var = "This is the #{no_space} example"

EnforcedStyle: space

# bad
   var = "This is the #{no_space} example"

# good
   var = "This is the #{ space } example"

Auto generated by rubocop_challenger

@mathieujobin mathieujobin force-pushed the rubocop-challenge/20230210233544 branch from a0c814b to b66cba5 Compare February 14, 2023 00:36
@mathieujobin mathieujobin merged commit 4fe8b9c into master Feb 14, 2023
@mathieujobin mathieujobin deleted the rubocop-challenge/20230210233544 branch February 14, 2023 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant