Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.38 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.38 KB

Pronto runner for RuboCop

Code Climate Build Status Gem Version

Pronto runner for RuboCop, ruby code analyzer. What is Pronto?

Configuration

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

Suggestions

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:

GitHub screenshot with suggestion