Skip to content

Commit 72f5b65

Browse files
authored
Merge pull request #721 from rubocop-hq/add-metadata
Add cop metadata
2 parents 8eb550e + 3574888 commit 72f5b65

File tree

7 files changed

+393
-295
lines changed

7 files changed

+393
-295
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,16 @@ Before submitting the PR make sure the following are checked:
88
* [ ] Squashed related commits together.
99
* [ ] Added tests.
1010
* [ ] Updated documentation.
11-
* [ ] Added an entry to the [changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md) if the new code introduces user-observable changes.
11+
* [ ] Added an entry to the `CHANGELOG.md` if the new code introduces user-observable changes.
1212
* [ ] The build (`bundle exec rake`) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).
1313

1414
If you have created a new cop:
1515

1616
* [ ] Added the new cop to `config/default.yml`.
1717
* [ ] The cop documents examples of good and bad code.
1818
* [ ] The tests assert both that bad code is reported and that good code is not reported.
19+
* [ ] Set `VersionAdded` in `default/config.yml` to the next minor version.
20+
21+
If you have modified an existing cop's configuration options:
22+
23+
* [ ] Set `VersionChanged` in `default/config.yml` to the next major version.

0 commit comments

Comments
 (0)