Lint your Ruby code
To lint Ruby code we recommend using Rubocop. It is an open-source gem that performs static analysis of Ruby code according to rules that can be granularly configured. Each validation, or rule, is called a “cop”. Some of those cops come with the ability to auto-correct issues.
The rubocop-govuk gem is a set of Rubocop style rules to enforce consistency with the GOV.UK style guide. See the readme for details on installation and usage.
The default Jenkins build script will detect if you are using
will run it automatically.