Project

td_critic

0.0
No commit activity in last 3 years
No release in over 3 years
TD Critic uses rubocop to check your code based on the Ruby Style Guide.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 12.0

Runtime

>= 0.49.1
>= 1.15.1
 Project Readme

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