Code style checking for GitHub's Ruby projects
Перейти к файлу
Robert Mosolgo 90e6d5e109 Fix for RuboCop 2018-09-13 09:58:59 -04:00
config fixed Lint/BlockAlignment 2018-03-08 17:28:52 +10:00
guides Prevent render inline: in views 2017-03-24 11:48:40 -07:00
lib/rubocop/cop Fix for RuboCop 2018-09-13 09:58:59 -04:00
test Fix for RuboCop 2018-09-13 09:58:59 -04:00
.gitignore Bump .gitignore 2017-12-19 10:33:53 -05:00
.rubocop.yml Fix for RuboCop 2018-09-13 09:58:59 -04:00
.travis.yml [CI] Test against Ruby 2.x 2018-02-14 00:33:58 +01:00
Gemfile Fix for RuboCop 2018-09-13 09:58:59 -04: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 Fix for RuboCop 2018-09-13 09:58:59 -04:00
STYLEGUIDE.md Change bad/good to avoid/prefer 2018-03-05 15:08:06 -05:00
rubocop-github.gemspec Fix for RuboCop 2018-09-13 09:58:59 -04: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.