0.0
No release in over 3 years
Low commit activity in last 3 years
Airslie style guides and shared style configs.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 10.0

Runtime

~> 0.49
 Project Readme

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.