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

Add Style/HeredocIndent #554

Merged
merged 2 commits into from
Feb 4, 2025

Conversation

nobodywasishere
Copy link
Contributor

Enforces that heredoc bodies are indented consistently.

@Sija Sija added the rule label Jan 29, 2025
@Sija Sija added this to the 1.7.0 milestone Jan 29, 2025
spec/ameba/rule/style/heredoc_indent_spec.cr Outdated Show resolved Hide resolved
src/ameba/rule/style/heredoc_indent.cr Outdated Show resolved Hide resolved
src/ameba/rule/style/heredoc_indent.cr Outdated Show resolved Hide resolved
src/ameba/rule/style/heredoc_indent.cr Outdated Show resolved Hide resolved
src/ameba/rule/style/heredoc_indent.cr Outdated Show resolved Hide resolved
src/ameba/rule/style/heredoc_indent.cr Outdated Show resolved Hide resolved
src/ameba/rule/style/heredoc_indent.cr Outdated Show resolved Hide resolved
src/ameba/rule/style/heredoc_indent.cr Outdated Show resolved Hide resolved
src/ameba/rule/style/heredoc_indent.cr Outdated Show resolved Hide resolved
src/ameba/rule/style/heredoc_indent.cr Show resolved Hide resolved
src/ameba/rule/style/heredoc_indent.cr Outdated Show resolved Hide resolved
src/ameba/rule/style/heredoc_indent.cr Outdated Show resolved Hide resolved
@Sija Sija requested review from veelenga and Sija January 31, 2025 22:13
nobodywasishere and others added 2 commits February 2, 2025 19:09
Copy link
Member

@veelenga veelenga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Sija Sija merged commit bf25d80 into crystal-ameba:master Feb 4, 2025
4 checks passed
@nobodywasishere nobodywasishere deleted the nobody/heredoc-indent branch February 12, 2025 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants