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 false positives for RSpec/InstanceVariable in blocks that define methods
- Fix false positives for RSpec/ScatteredSetup in mutually exclusive branches
- Fix false positives for subject detection nested in another block
- Use project index to fix RSpec/LetSetup shared-code false positives
- Allow ignoring by multiple metadata entries in RSpec/SpecFilePathFormat
- Fix false negative for RSpec/DescribedClass with constant base
- Add new cop `RSpec/RedundantPending`
- Add RSpec/HaveAttributes cop
- Fix false negative for `RSpec/RepeatedExampleGroupDescription` cop when include skip/pending
- Recognize stubbing of `described_class` in `RSpec/SubjectStub`
- Docs
- RuboCop::Cop::RSpec::ReceiveNever#used_with_expect?
- RuboCop::Cop::RSpec::ReceiveNever#expect_to_receive?
- RuboCop::Cop::RSpec::RepeatedExample#message
- RuboCop::Cop::RSpec::RepeatedExample#extract_other_lines
- RuboCop::Cop::RSpec::RepeatedExample#add_offenses_for_repeated_group
- RuboCop::Cop::RSpec::RepeatedExample#build_example_signature
- RuboCop::Cop::RSpec::RepeatedExample#find_repeated_examples
- RuboCop::Cop::RSpec::VerifiedDoubles#hash?
- RuboCop::Cop::RSpec::LetSetup#outer_let_bang?
- RuboCop::Cop::RSpec::LetSetup#overrides_outer_let_bang?