diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2022-05-19 03:01:28 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2022-05-19 03:01:28 -0600 |
| commit | 71730a596b9c80cffb5c1e37f8dac6ffedd81155 (patch) | |
| tree | 41e94a377b49cd0b2ed1018814ebc1ae773df27b /CONTRIBUTING-CODE.adoc | |
| parent | 9d8595f3ba0df4d3fe927f02c607da1726ed1729 (diff) | |
add note about tap/each idiom in contributing code guide
Diffstat (limited to 'CONTRIBUTING-CODE.adoc')
| -rw-r--r-- | CONTRIBUTING-CODE.adoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CONTRIBUTING-CODE.adoc b/CONTRIBUTING-CODE.adoc index e168a141..a24f12d7 100644 --- a/CONTRIBUTING-CODE.adoc +++ b/CONTRIBUTING-CODE.adoc @@ -248,6 +248,10 @@ The coding style is enforced by https://rubocop.org/[RuboCop]. The rules are defined in [.path]_.rubocop.yml_. These rules extend from the default rule set to match the style of the project. +In additional to those rules, the following rules are enforced manually: + +* use tap/each instead of each_with_object to build a new Hash from an enumerable object + === Generate Code Coverage Report To generate a code coverage report when running tests using simplecov, set the `COVERAGE` environment variable as follows when running the tests: |
