0.0
Low commit activity in last 3 years
No release in over a year
Contains enabled rubocops for Arcadia ruby repos.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

> 2.0.2
>= 0
>= 0

Runtime

 Project Readme

Arcadia Power Rubocop Configuration

The arcadia_cops gem contains enabled and customized rubocop cops to check and enforce our style guide.

Install

# Add to your gemfile
gem 'arcadia_cops'

Then setup your .rubocop.yml file per rubocop docs.

Development

Add a new cop to the enabled.yml, bump the version, and put in a PR for review.

To see all cops including those that aren't enabled run bundle exec rubocop --show-cops.

WHen developing custom cops, make sure to add specs and run run bundle exec rspec before releasing.

Release

Ensure you have bumped the version and run rake release to release to rubygems.org. If this command appears to be hanging, it's probably expecting an OTP code for authentication. Updating rubygems (gem update --system) and bundler (bundle update --bundler) seem to fix this.

Other

arcadia_cops also maintains the rubocop version to maintain parity across repos.