/rubocop-github

Code style checking for GitHub Ruby repositories

Primary LanguageRubyMIT LicenseMIT

RuboCop GitHub

This repository provides recommended RuboCop configuration and additional Cops for use on GitHub open source and internal Ruby projects.

Installation

Gemfile

gem "rubocop-github"

.rubocop.yml

inherit_gem:
  rubocop-github:
    - config/default.yml
    - config/rails.yml

The Cops

All cops are located under lib/rubocop/cop/github, and contain examples/documentation.