rubocop / rubocop-rspec

Code style checking for RSpec files.
https://docs.rubocop.org/rubocop-rspec
MIT License
792 stars 272 forks source link

Change step with new_cop command for rubocop-rspec #1891

Closed ydah closed 1 month ago

ydah commented 1 month ago

before:

Do 4 steps:
  1. Modify the description of RSpec/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 `RSpec/CopName` cop"
  4. Run `bundle exec rake changelog:new` to generate a changelog entry

after:

Do 4 steps:
  1. Modify the description of RSpec/CopName in config/default.yml
  2. Implement your new cop in the generated file!
  3. Add an entry about new cop to CHANGELOG.md
  4. Commit your new cop with a message such as
     e.g. "Add new `RSpec/CopName` cop"

Before submitting the PR make sure the following are checked: