numbata / rubocop-sequel

Code style checking for Sequel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Code style checking for Sequel

License:MIT License


Languages

Language:Ruby 100.0%