Skip to content

Style/EmptyLineAfterGuardClause enabled with v1.51.0? #750

@phansch

Description

@phansch

Not sure if this was a mistake or not, when I upgraded to standardrb 1.51.0, I was surprised to see Style/EmptyLineAfterGuardClause enabled. I don't see this mentioned in the changelog, so I'm just asking if enabling that lint was intentional.

A previous issue to enable that lint was closed on the grounds that it should be up to each user to enable or disable it: #327 (comment)

I know it's not part of the goals of standardrb, but I was sort of expecting a low-maintenance/churn linting tool that doesn't cause a lot of extra work with style changes. (Running standardrb --fix is not the problem and works great, but having multiple people review the 1000+ lines of changes is)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions