Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 691 Bytes

README.md

File metadata and controls

46 lines (30 loc) · 691 Bytes

CI status

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