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

Explain "why" for many rules #17

Open
samuelneff opened this issue Apr 4, 2023 · 0 comments
Open

Explain "why" for many rules #17

samuelneff opened this issue Apr 4, 2023 · 0 comments

Comments

@samuelneff
Copy link

A few of these rules are great straightforward code improvements.

Most though confuse me. Why would we want to enable them? What are the better alternatives?

Rules that I don't quite understand:

ReturnStatement
VariableDefinition
ReturnUnit
ClassDefinition
AbstractClassDefinition
ThrowExpression
BranchStatement
MissingElse

Just for completeness, other rules which are clear on their own.

LoopDefinition
MutableCollections

Thanks for the extra rules!

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

No branches or pull requests

1 participant