You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's important to have a code standard or format we all follow.
Rubocop is quite popular but it doesn't autofix your code, merely points out errors but it integrates nicely with Rubymine and various other IDEs. Downside is that almost no one uses their standard configuration so every project ends up having it's own style, and for open source projects I don't think that is the greatest of things.
rubyfmt is like gofmt where it just formats your code per a standard style and after every save. I like this approach better and I saw it at Alt::BrightonRuby 2020 but it is still at a point where it's upcoming but the dev responds to issues quite actively.
The text was updated successfully, but these errors were encountered:
It's important to have a code standard or format we all follow.
Rubocop is quite popular but it doesn't autofix your code, merely points out errors but it integrates nicely with Rubymine and various other IDEs. Downside is that almost no one uses their standard configuration so every project ends up having it's own style, and for open source projects I don't think that is the greatest of things.
rubyfmt is like
gofmt
where it just formats your code per a standard style and after every save. I like this approach better and I saw it at Alt::BrightonRuby 2020 but it is still at a point where it's upcoming but the dev responds to issues quite actively.The text was updated successfully, but these errors were encountered: