close
The Wayback Machine - https://web.archive.org/web/20190322164656/https://github.com/github/rubocop-github
Skip to content
Image
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
Code style checking for GitHub Ruby repositories
Branch: master
Clone or download
Latest commit 994ce4d Sep 18, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Image config Names changed Sep 18, 2018
Image guides Prevent render inline: in views Mar 24, 2017
Image lib/rubocop/cop
Image test
Image .gitignore
Image .rubocop.yml Fix for RuboCop Sep 13, 2018
Image .travis.yml
Image Gemfile Fix for RuboCop Sep 13, 2018
Image LICENSE
Image README.md
Image Rakefile Fix for RuboCop Sep 13, 2018
Image STYLEGUIDE.md Change bad/good to avoid/prefer Mar 5, 2018
Image rubocop-github.gemspec

README.md

RuboCop GitHub Build Status

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.

You can’t perform that action at this time.