MeowCop is a gem for RuboCop configuration, it focuses Lint. It's recommended by Sider, Inc.
Ruby Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
examples Change default ruby version to 2.2 Jul 9, 2018
exe Chmod Feb 12, 2017
.gitignore Initialise Sep 26, 2016
Gemfile Initialise Sep 26, 2016
meowcop.gemspec Require RuboCop v0.57.0 Jun 18, 2018


Gem Version

MeowCop is a gem for RuboCop configuration, it focuses Lint. It's recommended by Sider, Inc.


RuboCop has many style cops. Style cops provide one of several settings. So, sometime we get many many warnings when we introduce RuboCop. The cause is a mismatch between RuboCop's default setting and your project coding style.

In the configuration, style rules are disabled. Because the rules almost for project specific. If you use, you can use RuboCop as a Linter without many noisy warnings.

If you want to use RuboCop as a style checker, we recommend Gry.


Add this line to your application's Gemfile:

gem 'meowcop'

And then execute:

$ bundle

Or install it yourself as:

$ gem install meowcop


MeowCop provides a CLI tool to initialise .rubocop.yml

$ meowcop init
Meow! .rubocop.yml has been created successfully.
$ cat .rubocop.yml
# To use the MeowCop gem.
    - config/rubocop.yml

# Modify the version if you don't use MRI 2.2.
  TargetRubyVersion: 2.2
  # If you use RuboCop with Ruby on Rails, specify TargetRailsVersion(default: 5.0).
  TargetRailsVersion: 5.0

  # If you use RuboCop with Ruby on Rails, turn on this option.
  Enabled: false

# You can customize rubocop settings.
# For example.
# Style/FrozenStringLiteralComment:
#   Enabled: true
#   EnforcedStyle: always



Just execute RuboCop.

$ bundle exec rubocop


After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to


Bug reports and pull requests are welcome on GitHub at