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
- Recognize stubbing of `described_class` in `RSpec/SubjectStub`
- Add new `RSpec/ChangeWithoutExpect` cop
- PredicateMatcher recommends changing `#key?` to matcher `be_key`
- Improve PredicateMatcher recommendations
- False negative for `RSpec/BeEq` or `RSpec/BeEql`
- False negative for `RSpec/RepeatedExampleGroupDescription`
- RedundantPredicateMatcher is not a safe autocorrect
- Remove deprecated method
- RSpec/Dialect causes a false negative when using below setting mentioned in the documentation
- Cop Idea: redundant `require '(spec|rails)_helper'`
- Docs
- RuboCop::Cop::RSpec::EmptyLineAfterSharedInclusion#conditional_inclusion?
- RuboCop::Cop::RSpec::EmptyLineAfterSharedInclusion#inclusion?
- RuboCop::Cop::RSpec::EmptyLineAfterSharedInclusion#consecutive_inclusion?
- RuboCop::Cop::RSpec::EmptyLineAfterSharedInclusion#check_inclusions
- RuboCop::Cop::RSpec::EmptyLineAfterSharedInclusion#on_block
- RuboCop::Cop::RSpec::EmptyLineAfterSharedInclusion#spec_group?
- RuboCop::Cop::RSpec::SpecFilePathFormat#inflector_path
- RuboCop::Cop::RSpec::MatchWithSimpleRegex#include_matcher_argument?
- RuboCop::Cop::RSpec::InstanceVariable#reopened_class?
- RuboCop::Cop::RSpec::ExampleWording#replacement_source