Project

rf-stylez

0.0
A long-lived project that still receives updates
Configurations for Rubocop and other style enforcers/linters
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.2.1
= 1.59.0
~> 0.6
~> 6.2
~> 0.11.2
 Project Readme

RF Stylez 😎

This is a place for style configurations for Rainforest QA code.

Releasing

  • Make sure your changes are merged into master and...
  • that VERSION in lib/rf/stylez/version.rb file is updated
  • pull latest master
  • run rake release:source_control_push
  • CI/CD will take care of releasing rf-stylez to rubygems

Adding rf-stylez to a new project

For Ruby projects

Create a .rubocop.yml in the root project directory and paste the following:

inherit_gem:
  rf-stylez: ruby/rubocop.yml

For Rails projects

Create a .rubocop.yml in the root project directory and paste the following:

inherit_gem:
  rf-stylez:
    - ruby/rubocop.yml
    - rails/rubocop.yml

To use it you'll need to install rf-stylez locally:

gem install rf-stylez

To check if you version is the latest on (for example in a git hook)

rf-stylez check-latest