Pronto runner for RuboCop, ruby code analyzer. What is Pronto?
Configuring RuboCop via .rubocop.yml
will work just fine with
pronto-rubocop
.
You can also specify a custom .rubocop.yml
location with the environment
variable RUBOCOP_CONFIG
.
You can also provide additional configuration via .pronto.yml
:
rubocop:
# Map of RuboCop severity level to Pronto severity level
severities:
refactor: info
warning: error
# Enable suggestions
suggestions: true
When suggestions are enabled, the messages will include a line suggesting what to change, using GitHub's syntax on Pull Request reviews, that can be approved in one click right from the Pull Request.
For example: