RF Stylez 😎
This is a place for style configurations for Rainforest QA code.
Releasing
- Make sure your changes are merged into
masterand... - that
VERSIONinlib/rf/stylez/version.rbfile 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.ymlFor Rails projects
Create a .rubocop.yml in the root project directory and paste the following:
inherit_gem:
rf-stylez:
- ruby/rubocop.yml
- rails/rubocop.ymlTo use it you'll need to install rf-stylez locally:
gem install rf-stylezTo check if you version is the latest on (for example in a git hook)
rf-stylez check-latest