PredixCi RuboCop extension.
Add this line to your application's Gemfile:
gem 'rubocop-predix_ci'
And then execute:
$ bundle
Configure RuboCop to load the extension in .rubocop.yml
.
require: rubocop-predix_ci
All cops are located under
lib/rubocop/cop/predix_ci
.
All cops are enabled by default.
In your .rubocop.yml
, you may treat the PredixCi cops just like any other
cop. For example:
PredixCi/NotUnless:
Enabled: false
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.