README.md in rubocop-codetakt-0.8.3 vs README.md in rubocop-codetakt-0.82.0.0

- old
+ new

@@ -1,38 +1,55 @@ -# What is this? +# rubocop-codetakt -Common RuboCop configurations for the codeTakt's project. -Based the [onkcop][1]. +[![Gem Version](https://badge.fury.io/rb/rubocop-codetakt.svg)](https://badge.fury.io/rb/rubocop-codetakt) +This includes the RuboCop configuration used by codeTakt. It is for the unification and linfting of coding styles. + +**IMPORTANT** This repository is forked from onk/onkcop v0.53.0.3 (979b8e74eda394434e49caaee31d3f3d781d14f6). And it has been modified for our team. Therefore, it should not be regarded as a successor. + ## Usage -Put this configurations and RuboCop to your `Gemfile`. +Setup .rubocop.yml -In general: +```sh +bundle exec rubocop-codetakt init +``` -```ruby -gem 'rubocop-codetakt' +`init` generate the following directive to your `.rubocop.yml`: + +```yaml +inherit_gem: + rubocop-codetakt: + - "config/rubocop.yml" + # uncomment if use performance cops + # - "config/performance.yml" + # uncomment if use rails cops + # - "config/rails.yml" + # uncomment if use rspec cops + # - "config/rspec.yml" + +AllCops: + TargetRubyVersion: 2.5 ``` -Rails product: +```sh +bundle exec rubocop <options...> +``` +## Installation + +Add this line to your application's Gemfile: + ```ruby group :development do - gem 'rubocop-codetakt', require: false + gem "rubocop-codetakt", require: false end ``` -And then create `.rubocop.yml`: +## Contributing -```yaml -inherit_gem: - rubocop-codetakt: - - config/rubocop.yml - - config/rails.yml # optional. - - config/rspec.yml # optional. -``` +Bug reports and pull requests are welcome on GitHub at https://github.com/codetakt/rubocop-codetakt. + ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT). - -[1]: https://github.com/onk/onkcop