Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 765 Bytes

Layout-SpaceInsideStringInterpolation.md

File metadata and controls

29 lines (19 loc) · 765 Bytes

Pattern: Malformed space inside string interpolation

Issue: -

Description

This rule checks for whitespace within string interpolations.

Examples

# 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"

Default configuration

Attribute Value
EnforcedStyle no_space
SupportedStyles space, no_space

Further Reading