Sha256: e0f2c413e9eb6ea7d5486b7d100d13c791320a02bcdb91060bf57d7fa9e85284

Contents?: true

Size: 1.37 KB

Versions: 20

Compression:

Stored size: 1.37 KB

Contents

# Contributing to RamseyCop

## Getting Started
* `git clone git@github.com:ramseyinhouse/ramsey-cop.git`
* `cd ramsey-cop`
* `bundle`

## Recommended Workflow
* Ensure that any local `.rubocop.yml` overrides are removed
* Pull this gem down
* Set your gemfile to point your local `ramsey_cop` and run `bundle`
* Run `rubocop` in your app
  * Use `rubocop -D` to display cop names in the offense message and help you
    quickly find the [appropriate override](https://github.com/bbatsov/rubocop/blob/master/config/default.yml)
* Review the offenses listed
  * If your code does not adhere to dev standards
    * Update the style in your code only as you make changes. There is no need to make style-only updates.
  * Elsif your code does adhere to dev standards || you want to suggest changes
    * Update the default.yml using a single commit per style change.
    * Submit a PR

## Submitting a PR
* Only add/update one cop per commit.
* Keep the cops defined in `default.yml` in alphabetical order.
* Follow the precedent set by previous commit messages such as:
  * Layout/AccessModifierIndentation: set EnforcedStyle: outdent
  * Style/Alias: set EnforcedStyle: prefer_alias_method
* If it is not a simple setting, feel free to do something like:
  * Style/PercentLiteralDelimiters: set PreferredDelimiters
* After creating a PR, the CODEOWNERS file will assign your PR to the
  appropriate reviewer.

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
ramsey_cop-0.24.0 CONTRIBUTING.md
ramsey_cop-0.23.0 CONTRIBUTING.md
ramsey_cop-0.22.0 CONTRIBUTING.md
ramsey_cop-0.20.0 CONTRIBUTING.md
ramsey_cop-0.19.0 CONTRIBUTING.md
ramsey_cop-0.18.0 CONTRIBUTING.md
ramsey_cop-0.16.0 .github/CONTRIBUTING.md
ramsey_cop-0.15.0 CONTRIBUTING.md
ramsey_cop-0.14.2 CONTRIBUTING.md
ramsey_cop-0.14.1 CONTRIBUTING.md
ramsey_cop-0.14.0 CONTRIBUTING.md
ramsey_cop-0.13.2 CONTRIBUTING.md
ramsey_cop-0.13.1 CONTRIBUTING.md
ramsey_cop-0.13.0 CONTRIBUTING.md
ramsey_cop-0.12.0 CONTRIBUTING.md
ramsey_cop-0.11.0 CONTRIBUTING.md
ramsey_cop-0.10.0 CONTRIBUTING.md
ramsey_cop-0.9.0 CONTRIBUTING.md
ramsey_cop-0.8.0 CONTRIBUTING.md
ramsey_cop-0.7.3 CONTRIBUTING.md