Code style checking for Sequel.
Using the rubocop-sequel gem
gem install rubocop-sequelor using bundler by adding in your Gemfile
gem 'rubocop-sequel'
Add to your .rubocop.yml.
plugins: rubocop-sequel
rubocop will now automatically load RuboCop Sequel
cops alongside with the standard cops.
Note
The plugin system is supported in RuboCop 1.72+. In earlier versions, use require instead of plugins.
rubocop --plugin rubocop-sequelRuboCop::RakeTask.new do |task|
task.plugins << 'rubocop-sequel'
end