RuboCop Sequel
Code style checking for Sequel.
Installation
Using the rubocop-sequel
gem
gem install rubocop-sequel
or using bundler by adding in your Gemfile
gem 'rubocop-sequel'
Usage
RuboCop configuration file
Add to your .rubocop.yml
.
require: rubocop-sequel
rubocop
will now automatically load RuboCop Sequel
cops alongside with the standard cops.
Command line
rubocop --require rubocop-sequel
Rake task
RuboCop::RakeTask.new do |task|
task.requires << 'rubocop-sequel'
end