Skip to content

td-berlin/td_critic

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

TD Critic

Gem Version Build Status License

Your ruby SUX!

Critic
-- One who forms and expresses judgments of the merits, faults, value, or truth of a matter.

TD Critic is a gem that specializes in judging your coding style.




Installation

Add this to your application's Gemfile:

gem 'td_critic'

If you want to make sure that your project's build won't be broken accidentally by rubocop update, lock rubocop to certain version:

gem 'rubocop', '0.58.2'
gem 'rubocop-rspec', '1.28.0'

That is important especially for GEMs, where Gemfile.lock isn't committed to the repository.

Usage

Add the following line to your rubocop config

inherit_gem:
  td_critic: rubocop.yml

You can use the rubocop rake task to run rubocop on only the recently changed files (by Yury Lebedev)

bundle exec rake rubocop

About

TD Critic is a gem that specializes in judging your coding style.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages