Skip to content

Pronto runner for Rubocop, ruby code analyzer

License

Notifications You must be signed in to change notification settings

unabridged/pronto-rubocop

 
 

Repository files navigation

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

About

Pronto runner for Rubocop, ruby code analyzer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%