Do 4 steps:
1. Modify the description of Capybara/CopName in config/default.yml
2. Implement your new cop in the generated file!
3. Commit your new cop with a message such as
e.g. "Add new `Capybara/CopName` cop"
4. Run `bundle exec rake changelog:new` to generate a changelog entry
after:
Do 4 steps:
1. Modify the description of Capybara/CopName in config/default.yml
2. Implement your new cop in the generated file!
3. Commit your new cop with a message such as
e.g. "Add new `Capybara/CopName` cop"
4. Add an entry about new cop to CHANGELOG.md
Before submitting the PR make sure the following are checked:
[x] Feature branch is up-to-date with main (if not - rebase it).
[x] Squashed related commits together.
[-] Added tests.
[-] Updated documentation.
[-] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).
before:
after:
Before submitting the PR make sure the following are checked:
main
(if not - rebase it).CHANGELOG.md
if the new code introduces user-observable changes.bundle exec rake
) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).