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 an incorrect autocorrect for `RSpec/PredicateMatcher` cop
- Fix Dialect for configured RSpec aliases
- Cop idea: prefer `be_an_instance_of` over `be_instance_of`
- 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`
- Docs
- RuboCop::Cop::RSpec::NoExpectationExample#on_itblock
- RuboCop::Cop::RSpec::SkipBlockInsideExample#on_itblock
- RuboCop::Cop::RSpec::SubjectDeclaration#first_argument_range
- RuboCop::Cop::RSpec::EmptyLineAfterFinalLet#example_group_or_include?
- RuboCop::RSpec::Hook#inside_class_self?
- RuboCop::RSpec::Hook#inside_class_method?
- RuboCop::Cop::RSpec::Output#on_send
- RuboCop::Cop::RSpec::Output#io_output?
- RuboCop::Cop::RSpec::Output#output?
- RuboCop::Cop::RSpec::Output#match_gvar?