Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 808 Bytes

README.md

File metadata and controls

49 lines (32 loc) · 808 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.

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.

Command line

rubocop --plugin rubocop-sequel

Rake task

RuboCop::RakeTask.new do |task|
  task.plugins << 'rubocop-sequel'
end