rubocop-rspec
https://github.com/rubocop/rubocop-rspec
Ruby
Code style checking for RSpec files
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
3 Subscribers
Add a CodeTriage badge to rubocop-rspec
Help out
- Issues
- Fix: Fix false negative for `RSpec/Dialect` when specified Capybara-specific methods
- RSpec/Dialect causes a false negative when using below setting mentioned in the documentation
- Cop Idea: redundant `require '(spec|rails)_helper'`
- Fix git push in publish workflow
- `RSpec/MultipleSubjects` and `RSpec/LeadingSubject` autocorrect removes subject used in tests
- Cop idea: Warn when creating global shared contexts/examples within tests
- Fix `RSpec/ExampleWording` in escaping and `%` string literals
- `RSpec/ExampleWording` unintentionally removes escapes
- RSpec/RedundantPredicateMatcher autocorrect on be_match is not safe
- False positive for `RSpec/PendingWithoutReason` cop
- Docs
- RuboCop::Cop::RSpec::ExpectChange#negated_matcher
- RuboCop::Cop::RSpec::ExpectChange#matcher_method?
- RuboCop::Cop::RSpec::ExpectChange#matcher_method_names
- RuboCop::Cop::RSpec::ExpectChange#expect_matcher_with_block
- RuboCop::Cop::RSpec::ExpectChange#expect_matcher_with_arguments
- RuboCop::Cop::RSpec::SharedContext#offending_node
- RuboCop::Cop::RSpec::SharedContext#can_correct?
- RuboCop::Cop::RSpec::SharedContext#message
- RuboCop::Cop::RSpec::SharedContext#strict?
- RuboCop::Cop::RSpec::RepeatedItems#add_repeated_lines