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

Rule: messy-rule #714

Merged
merged 1 commit into from
May 13, 2024
Merged

Rule: messy-rule #714

merged 1 commit into from
May 13, 2024

Conversation

anderseknert
Copy link
Member

Help identify incremental rule definitions that aren't grouped together.

Also fix two violations against this rule that we had in our own codebase.

Fixes #672

Help identify incremental rule definitions that aren't grouped together.

Also fix two violations against this rule that we had in our own codebase.

Fixes #672

Signed-off-by: Anders Eknert <anders@styra.com>
Copy link
Member

@charlieegan3 charlieegan3 left a comment

Choose a reason for hiding this comment

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

Looks good to me, I think 'messy' might be a little generic and initially suggests issues relating to whitespace or similar. I think this rule is a really great one to have though.

@@ -0,0 +1,57 @@
# messy-rule
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if 'disjointed' is would be more specific here? Fragmented might be another option.

Copy link
Member Author

Choose a reason for hiding this comment

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

Either way you'd need to read the rule docs to learn what it is about, so I think "messy" works well to catch the user's attention :)

Copy link
Member

Choose a reason for hiding this comment

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

yeah I guess that's fair enough.

@anderseknert anderseknert merged commit 3e92381 into main May 13, 2024
3 checks passed
@anderseknert anderseknert deleted the messy-rule branch May 13, 2024 13:01
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.

Rule: messy-rule
2 participants