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