Sha256: 260535bde5dce4c9445e0400100c7d0cba0a9fd5d9b65a9c3afc3c16d36e8145
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 KB
Contents
# onkcop [![Gem Version](https://badge.fury.io/rb/onkcop.svg)](https://badge.fury.io/rb/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.4 # uncomment if use rails cops # TargetRailsVersion: 5.0 ``` ```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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
onkcop-0.48.1.1 | README.md |
onkcop-0.48.1.0 | README.md |
onkcop-0.48.0.0 | README.md |