Skip to content

Commit

Permalink
Also suggest rubocop-rspec for those using rspec-rails (#12908)
Browse files Browse the repository at this point in the history
rubocop-rspec_rails provides rspec-rails specific cops, but generic rspec cops still apply, as rspec-rails depends on rspec (core, expectations and mocks)
  • Loading branch information
pirj committed May 17, 2024
1 parent 730794e commit 673495b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* [#12908](https://github.com/rubocop/rubocop/pull/12908): Add rubocop-rspec back to suggested extensions when rspec-rails is in use. ([@pirj][])
2 changes: 1 addition & 1 deletion config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ AllCops:
# included.
SuggestExtensions:
rubocop-rails: [rails]
rubocop-rspec: [rspec]
rubocop-rspec: [rspec, rspec-rails]
rubocop-minitest: [minitest]
rubocop-sequel: [sequel]
rubocop-rake: [rake]
Expand Down

0 comments on commit 673495b

Please sign in to comment.