Pattern: Malformed space inside string interpolation
Issue: -
This rule checks for whitespace within string interpolations.
# Good if EnforcedStyle is no_space, bad if space.
var = "This is the #{no_space} example"
# Good if EnforceStyle is space, bad if no_space.
var = "This is the #{ space } example"
Attribute | Value |
---|---|
EnforcedStyle | no_space |
SupportedStyles | space, no_space |