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
- Improvement: RSpec/FilePath cop should inspect better
- Cop idea: Move nested modules to separate specs
- Cop idea: Replace `be` matchers with `be_between` matcher
- Cop idea: Replace `equal` with `be`
- `RSpec/ReceiveMessages` is marked as a safe autocorrect, but is not
- Update `RSpec/IteratedExpectation` cop documentation with an example of a matcher relying on block arguments
- Cop idea: disallow successive `not_to include`
- false positive on factory
- Cop idea: use with_message matcher instead of matching error message manually
- RSpec/ScatteredLet is not safe to autocorrect
- Docs
- RuboCop::Cop::RSpec::AroundBlock#on_itblock
- RuboCop::Cop::RSpec::AroundBlock#hook_itblock
- RuboCop::Cop::RSpec::AroundBlock#check_for_itblock
- RuboCop::Cop::RSpec::HookArgument#on_itblock
- RuboCop::Cop::RSpec::Metadata#on_itblock
- RuboCop::Cop::RSpec::ExpectInHook#on_itblock
- RuboCop::Cop::RSpec::RedundantAround#on_itblock
- RuboCop::Cop::RSpec::IteratedExpectation#each_itblock?
- RuboCop::Cop::RSpec::HooksBeforeExamples#on_itblock
- RuboCop::Cop::RSpec::EmptyLineAfterHook#on_itblock