Skip to content

feat(style/heredoc_escape): add autocorrection#831

Open
SAY-5 wants to merge 1 commit into
crystal-ameba:masterfrom
SAY-5:add-heredoc-escape-autocorrect
Open

feat(style/heredoc_escape): add autocorrection#831
SAY-5 wants to merge 1 commit into
crystal-ameba:masterfrom
SAY-5:add-heredoc-escape-autocorrect

Conversation

@SAY-5
Copy link
Copy Markdown

@SAY-5 SAY-5 commented May 24, 2026

Adds autocorrection to Style/HeredocEscape, toggling the opening heredoc marker between <<-MARKER and <<-'MARKER' to match the reported variant. Part of #724.

Specs cover both directions (adding and removing the escape) and a stash-revert confirms they fail without the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant