Sha256: f32172e6c26d762352d9c61baee73f4e35848ddc0caf226bcef06c7f9b3c3bc7
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
# onkcop [![Gem Version](https://badge.fury.io/rb/onkcop.svg)](https://badge.fury.io/rb/onkcop) [![Build Status](https://travis-ci.org/onk/onkcop.svg?branch=master)](https://travis-ci.org/onk/onkcop) OnkCop is a RuboCop configration gem. [rubocop のしつけ方 - onk.ninja](http://blog.onk.ninja/2015/10/27/rubocop-getting-started) ## Usage Setup .rubocop.yml ```sh bundle exec onkcop init ``` `init` generate the following directive to your `.rubocop.yml`: ```yaml inherit_gem: onkcop: - "config/rubocop.yml" # uncomment if use rails cops # - "config/rails.yml" # uncomment if use rspec cops # - "config/rspec.yml" AllCops: TargetRubyVersion: 2.5 # uncomment if use rails cops # TargetRailsVersion: 5.1 ``` ```sh bundle exec rubocop <options...> ``` ## Installation Add this line to your application's Gemfile: ```ruby group :development do gem "onkcop", require: false end ``` ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/onk/onkcop. ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
onkcop-0.52.1.1 | README.md |
onkcop-0.52.1.0 | README.md |