vulkanfry / pronto-rubocop

Pronto runner for Rubocop, ruby code analyzer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pronto runner for Rubocop

Build Status Gem Version

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

Install

It's not mandatory to include gem into Gemfile

gem install pronto-rubocop-autocorrect

Usage

pronto run -c origin/master

You also can ensure running before push inside .git/hooks/pre-push

pronto run -c $1/master --exit-code

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

How it works?

This gem patches only the modified lines in your source files. This means that the story does not deteriorate and not will happen unpleasant incidents as with rubocop -a

About

Pronto runner for Rubocop, ruby code analyzer

License:MIT License


Languages

Language:Ruby 100.0%