Skip to content

fix(ruby): use rubyfmt instead of rubocop #3334

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

Merged
merged 6 commits into from
Jul 9, 2024
Merged

fix(ruby): use rubyfmt instead of rubocop #3334

merged 6 commits into from
Jul 9, 2024

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Jul 8, 2024

🧭 What and Why

Try rubyfmt instead of rubocop, because it takes more than 2 minutes of the CI of wasted time, and the config is a pain to write, there are too many options.
And it doesn't format properly data structures.

With rubyfmt, its way faster, around 2s for the client, but there is 0 config so we must accept the output, which I find okay

@millotp millotp self-assigned this Jul 8, 2024
@millotp millotp requested a review from a team as a code owner July 8, 2024 16:59
@millotp millotp requested review from morganleroi and Fluf22 July 8, 2024 16:59
@algolia-bot
Copy link
Collaborator

algolia-bot commented Jul 8, 2024

✔️ Code generated!

Name Link
🪓 Triggered by 556cddad52388b328ec80d2f23f7ee6f43e832c5
🍃 Generated commit 5e21d3fba3f9894231db23ff9d4333c51f6b5bab
🌲 Generated branch generated/fix/rubyfmt

@millotp millotp changed the title fix(ruby): use ruvbyfmt instead of rubocop fix(ruby): use rubyfmt instead of rubocop Jul 8, 2024
Copy link

github-actions bot commented Jul 8, 2024

Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

such a nice find

@millotp millotp merged commit 586e13a into main Jul 9, 2024
20 checks passed
@millotp millotp deleted the fix/rubyfmt branch July 9, 2024 07:47
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.

3 participants