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

Merged
merged 6 commits into from
Feb 4, 2025

Conversation

andyundso
Copy link
Member

@andyundso andyundso commented Jan 3, 2025

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 c4873cd as these include safe auto corrections, stuff like removing the encoding magic comment or replacing ' with ". 3ae4fd1 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.

@andyundso andyundso merged commit cba28e3 into rails-sqlserver:master Feb 4, 2025
127 checks passed
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