You can use the Standard gem to make ruby code within a project super consistent. I use it on all my projects, it allows me to focus on coding & not having to worry about if I’m formatting my code correctly.
It recently reached V1.0, so it’s a really good time to start using it.
- Standard on GitHub: https://github.com/testdouble/standard
- Standard GitHub Action: https://github.com/Ruby-Starter-Kits/Docker-Rails-Template/blob/master/.github/workflows/standard.yml