Skip to content

Navigation Menu

Sign up
vfonicPublic

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

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

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /