Skip to content

Use standardrb for code formatting#574

Merged
andyundso merged 6 commits intorails-sqlserver:masterfrom
andyundso:standard-rb
Feb 4, 2025
Merged

Use standardrb for code formatting#574
andyundso merged 6 commits intorails-sqlserver:masterfrom
andyundso:standard-rb

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
@andyundso andyundso deleted the standard-rb branch February 16, 2025 15:44
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