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
- Let's change the default for RSpec/PredicateMatcher
- Bug: false positive of RSpec/LetSetup with context and outer shared_examples
- Suggestion: ExpectChange cop applied on negated matcher
- Add corpus tests
- Cop idea: ordered hooks
- Cop idea: restrict example wordings starting with uppercase letters
- Cop: Detect setup methods inside `include_examples`
- Cop Idea: "when" not "if"
- Cop idea: detect calling of a mock inside the example
- Cop suggestion: Detect legacy collection matchers usage
- Docs
- RuboCop::Cop::RSpec::MatchWithSimpleRegex#to_string_literal
- RuboCop::Cop::RSpec::MatchWithSimpleRegex#regexp_to_string
- RuboCop::Cop::RSpec::MatchWithSimpleRegex#simple_expression?
- RuboCop::Cop::RSpec::MatchWithSimpleRegex#simple_regexp?
- RuboCop::Cop::RSpec::MatchWithSimpleRegex#on_send
- RuboCop::Cop::RSpec::MatchWithSimpleRegex#match_with_regexp?
- RuboCop::Cop::RSpec::DiscardedMatcher#find_outermost_chain
- RuboCop::Cop::RSpec::DiscardedMatcher#custom_matcher_methods
- RuboCop::Cop::RSpec::DiscardedMatcher#all_matcher_methods
- RuboCop::Cop::RSpec::DiscardedMatcher#matcher_call?