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
- 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
- Cop idea: don't allow top-level it statements
- The `inspect_source` and `autocorrect_source[_with_loop]` helpers are inactive by default.
- Cop idea: suggest using be_an_instance_of
- Suggestion: Smarter subject stub cop
- Docs
- 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?
- RuboCop::Cop::RSpec::LeakyLocalVariable#in_example_arguments?
- RuboCop::Cop::RSpec::SpecFilePathFormat#inflector
- RuboCop::Cop::RSpec::SpecFilePathFormat::DefaultInflector.call