Code style checking for GitHub's Ruby projects
Перейти к файлу
Joshua Peek f37689c68d Add file to view partial keys 2017-03-24 11:16:18 -07:00
config Split controller/view literal checkers 2017-03-24 11:10:00 -07:00
guides Add render static literal cop 2017-03-23 15:15:32 -07:00
lib/rubocop/cop Add file to view partial keys 2017-03-24 11:16:18 -07:00
test Split controller/view literal checkers 2017-03-24 11:10:00 -07:00
.gitignore Add Gemfile 2016-12-09 22:41:38 -08:00
.rubocop.yml Use own rules 2016-12-09 22:51:31 -08:00
.travis.yml Add Travis config 2016-12-09 22:53:24 -08:00
Gemfile Add Gemfile 2016-12-09 22:41:38 -08:00
LICENSE Add LICENSE 2016-12-09 22:22:37 -08:00
README.md Document how to enable rails config 2016-12-14 13:28:19 -08:00
Rakefile Add Rakefile 2016-12-09 22:42:32 -08:00
STYLEGUIDE.md Fix block quote formatting 2017-01-10 11:38:00 -08:00
rubocop-github.gemspec Add render inline: cop 2017-03-22 16:14:33 -07:00

README.md

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.