Skip to content

About

Style configuration for Airslie Ruby projects

Resources

Stars

0 stars

Watchers

3 watching

Forks

Latest commit

 

History

73 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Airslie Style Guide

Airslie shared style configuration and guide.

Rubocop

To use the shared rubocop configuration in a project use the following three files:

.codeclimate.yml

prepare:
  fetch:
  - url: "https://raw.githubusercontent.com/airslie/airslie-styleguide/master/rubocop.yml"
    path: "default.yml"

.rubocop.yml

# Note that the local default.yml is overwritten on CodeClimate with the contents of
# the remote rubocop.yml pulled from GitHub in a codeclimate prepare step.
inherit_from:
  - default.yml

default.yml

inherit_from:
  - https://raw.githubusercontent.com/airslie/airslie-styleguide/master/rubocop.yml

# Don't add anything to this file other than the inherit_from above
# as this file is overwritten on codeclimate with the contents of the above
# remote url which is downloaded in a codeclimate prepare step.

When running locally, rubocop inherits from the remote github styleguide default.yml. When running on CodeClimate, a prepare step replaces the local default.yml with the remote styleguide one.

About

Style configuration for Airslie Ruby projects

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors