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

Use standardrb for code formatting #574

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

andyundso
Copy link
Member

Closes #564

This PR replaces the old Rubocop configuration with standardrb. I personally like standardrb better since it requires 0 configuration to run. I also tried out the existing Rubocop configuration and it almost had as many corrections as this PR has.

For review, best skip 44501ec as these include safe auto corrections, stuff like removing the encoding magic comment or replacing ' with ". 7496611 contains a couple of unsafe corrections, which I manually checked all. This brought up some uncorrectable things in very old benchmark files, which I decided to remove.

standardrb is also run on CI to enforce the coding style.

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.

Re-activate Rubocop
1 participant