/sevencop

Opinionated custom cops for RuboCop.

Primary LanguageRubyMIT LicenseMIT

sevencop

test

Opinionated custom cops for RuboCop.

Usage

Install sevencop gem:

# Gemfile
gem 'sevencop', require: false

then require sevencop and enable the cops you want to use on .rubocop.yml:

# .rubocop.yml
require:
  - sevencop

Sevencop/MethodDefinitionOrdered:
  Enabled: true

Note that all cops are Enabled: false by default.

Cops

Notes

All migration related cops are moved to r7kamura/rubocop-migration.