Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 931 Bytes

SPEC.md

File metadata and controls

40 lines (27 loc) · 931 Bytes

Guard::RubyCritic

Guard::RubyCritic is a tool that detects and reports smells in Ruby code in real-time.

Inspired by RuboCop, Rails Best Practices and Code Climate, Ruby Critic aims to better help you refactor your code. By making use of Ruby's rich ecosystem of code metrics tools, Ruby Critic generates high-quality visualizations and insightful code quality reports.

Installation

Add this line to your application's Gemfile:

gem "guard-rubycritic"

And then execute:

$ bundle

Next, generate a default Guardfile in your root directory:

$ guard init rubycritic

Usage

Change your Guardfile to your heart's content and simply run guard to get instant feedback on your code quality:

$ guard