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

chore: add standardrb #512

Merged
merged 9 commits into from
Nov 5, 2024
Merged

chore: add standardrb #512

merged 9 commits into from
Nov 5, 2024

Conversation

ElMassimo
Copy link
Owner

@ElMassimo ElMassimo commented Nov 5, 2024

Description 📖

This pull request adds standard and runs autocorrect on all libraries.

Background 📜

I like most decisions in standard, in particular:

  • Always using double quotes for string literals
  • Different whitespace for blocks { 2 } and hashes {a: 2}

On the other hand, I strongly disagree on other points, such as trailing commas.

Inheriting from the standard rubocop config provides a nice blend, such that most users contributing to the library will find the style is pretty much the standard.

@ElMassimo ElMassimo merged commit b92ef4b into main Nov 5, 2024
26 checks passed
@ElMassimo ElMassimo deleted the standard branch November 5, 2024 14:10
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.

1 participant