Skip to content

vfonic/stylecheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stylecheck CircleCI

This gem should streamline using RuboCop for style checking and linting.

Install

Add this line to your Gemfile and run bundle install:

gem 'stylecheck', github: 'vfonic/stylecheck', require: false

Add this line to your Rakefile:

require 'stylecheck/rake_tasks' unless Rails.env.production?

Tasks

There are three Rake tasks added by the gem:

rake style

Run RuboCop with autocorrect.

Useful for local development.

rake style:rubocop:run

Run RuboCop.

Useful for running this task on CI. Does not perform autocorrect.

rake style:rubocop:generate_local_config

Generate local RuboCop config.

Useful for generating rubocop.yml config file for overriding RuboCop config options specified in stylecheck gem.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages