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: prefer no parentheses: expect(subject).to eq(true) not expect(subject).to(eq(true))
- Reduce false positives of ExampleLength when using #expect_offense et. al.
- Cop idea: detect stub_const that doesn't refer the const
- Without require: false, rubocop-rspec will cause crash
- Unused code in predicate_matcher.rb ?
- Cop idea: detect let that have to be a subject
- RSpec/HookArgument: Adding an EnforcedStyle of :all & accept both :each and :all as EnforcedStyle?
- Cop idea: Long example description
- `FilePath` rule option to ignore module?
- Suggestion: Advocate for predicate matchers
- Docs
- RuboCop::Cop::RSpec::Metadata#remove_with_preceding_comma
- RuboCop::Cop::RSpec::Dialect#message
- RuboCop::Cop::RSpec::Dialect#preferred_receiver?
- RuboCop::Cop::RSpec::SharedExamples::StringChecker#to_string_literal
- RuboCop::Cop::RSpec::SharedExamples::SymbolChecker#plain_symbol?
- RuboCop::Cop::RSpec::LeadingSubject#preceding_siblings
- RuboCop::Cop::RSpec::LeadingSubject#move_target
- RuboCop::Cop::RSpec::LeadingSubject#preceding_offender
- RuboCop::Cop::RSpec::EmptyLineAfterSharedInclusion#conditional_inclusion?
- RuboCop::Cop::RSpec::EmptyLineAfterSharedInclusion#inclusion?