Low commit activity in last 3 years
No release in over a year
This includes the RuboCop configuration used by codeTakt. It is for the unification and linting of coding styles.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.25.1
 Project Readme

rubocop-codetakt

Gem Version

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

Setup .rubocop.yml

bundle exec rubocop-codetakt init

init generate the following directive to your .rubocop.yml:

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
bundle exec rubocop <options...>

Installation

Add this line to your application's Gemfile:

group :development do
  gem "rubocop-codetakt", require: false
end

Contributing

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.