Utilize standardrb for code consistency #1151
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
I've noticed things throughout the codebase such as inconsistent spacing. As an open source project I believe it would be easier for all if set of community driven guidelines helped guide new development.
Having much luck with standardrb on many projects, I would recommend it since it is intended to not have any linter configuration.
I completely understand that adding a linter can be an adjustment (I believe for the better). When I first started using it there were a couple rules that irked me but I learned to embrace them after understanding the reasoning. It's actually made my code better and very quickly readable.
This PR is intended to be a discussion starter and would not be offended if it's not a direction you would like to go.
Changes proposed in this pull request
I propose that the project uses standardrb as a dev dependency and I've also provided an initial cleanup.
Guidance to review
There are many altered files here but the majority of them are only whitespace changes. The few times I actually adjusted code was for things like useless assignment of a variable.