This is a plugin for pre-commit that will run Standard, a Ruby style guide, linter, and formatter.
https://github.com/pre-commit/pre-commit
https://github.com/testdouble/standard
- repo: https://github.com/jalessio/pre-commit-standardrb
rev: '' # Use the sha / tag you want to point at
hooks:
- id: standardrb