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 Lint/WhitespaceAroundMacroExpression rule #583

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Sija
Copy link
Member

@Sija Sija commented Feb 26, 2025

@Sija Sija added the rule label Feb 26, 2025
@Sija Sija added this to the 1.7.0 milestone Feb 26, 2025
@Sija Sija requested a review from veelenga February 26, 2025 01:09
@Sija Sija self-assigned this Feb 26, 2025
Comment on lines +25 to +28
properties do
since_version "1.7.0"
description "Reports missing spaces around macro expressions"
end
Copy link
Member

Choose a reason for hiding this comment

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

just an idea, we may add an optional since_crystal_version to avoid false positives on older crystal compilers

Copy link
Member Author

Choose a reason for hiding this comment

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

Mind reader you are, I was just thinking about that! 😅

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