This adds a Rubocop step to the Travis CI builds, so that we can check if PR have any code formatting/style issues.
Because the rubocop gem is also added to the project, after a fresh bundle install you can run rubocop -a <file path> to autocorrect any code formatting/style problems in the files you're working on.
Description
This adds a Rubocop step to the Travis CI builds, so that we can check if PR have any code formatting/style issues.
Because the
rubocop
gem is also added to the project, after a freshbundle install
you can runrubocop -a <file path>
to autocorrect any code formatting/style problems in the files you're working on.References
None
Risks:
None: Code formatting stuff