Workitcop Gem Version CI Maintainability

Custom cops for RuboCop.

Installation

Install the gem and add to the application's Gemfile by executing:

bundle add workitcop

If bundler is not being used to manage dependencies, install the gem by executing:

gem install workitcop

Usage

You need to tell RuboCop to load the Workitcop extension.

RuboCop configuration file

Put this into your .rubocop.yml.

require: workitcop

Alternatively, use the following array notation when specifying multiple extensions.

require:
  - rubocop-other-extension
  - workitcop

Now you can run rubocop and it will automatically load the Workitcop cops together with the standard cops.

License

The gem is available as open source under the terms of the MIT License.