Skip to content

Base rubocop configuration for Hole19 Rails applications

Notifications You must be signed in to change notification settings

hole19/rubocop-hole19

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rubocop-hole19

This repository provides the base RuboCop configuration for use on Hole19 Rails projects.

Based mainly on Omakase Ruby Styling for Rails and rubocop-github.

Usage

Add rubocop-hole19 to your Gemfile, along with its dependencies:

gem "rubocop-hole19", require: false, group: [ :development ]

Then run bundle, then bundle binstubs rubocop.

Then add a default .rubocop.yml file in the root of your application with:

# Hole19 base Ruby styling for Rails
inherit_gem:
  rubocop-hole19: rubocop.yml

# Your own specialized rules go here

Now you can run ./bin/rubocop to check for compliance and ./bin/rubocop -a to automatically fix violations.

About

Base rubocop configuration for Hole19 Rails applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages