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
- Cache configured RSpec language lists as symbol sets
- Check focus matchers before walking ancestors in RSpec/Focus
- Avoid allocating ancestors array in InsideExampleGroup
- Check for void expect before walking ancestors in RSpec/VoidExpect
- Avoid repeated traversals in RSpec/DiscardedMatcher
- Allow multiple IgnoreMetadata entries in SpecFilePathFormat
- Fix an incorrect autocorrect for `RSpec/ReturnFromStub` cop
- Fix an incorrect autocorrect for `RSpec/PredicateMatcher` cop
- Cop idea: prefer `be_an_instance_of` over `be_instance_of`
- Fix false positives for RSpec/InstanceVariable in blocks that define methods
- Docs
- RuboCop::Cop::RSpec::Rails::MinitestAssertions#minitest_includes
- RuboCop::Cop::RSpec::Rails::MinitestAssertions#minitest_equal
- RuboCop::Cop::RSpec::RepeatedSubjectCall#detect_subjects_in_scope
- RuboCop::Cop::RSpec::RepeatedSubjectCall#detect_offenses_in_example
- RuboCop::Cop::RSpec::RepeatedSubjectCall#detect_offenses_in_block
- RuboCop::Cop::RSpec::RepeatedSubjectCall#detect_offense
- RuboCop::Cop::RSpec::RepeatedSubjectCall#on_top_level_group
- RuboCop::Cop::RSpec::RepeatedSubjectCall#subject_calls
- RuboCop::Cop::RSpec::RepeatedSubjectCall#subject?
- RuboCop::Cop::RSpec::Rails::MinitestAssertions#replace_nil_assertion