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
- Amend `RSpec/SpecFilePathFormat` to match spec "partials" starting with `_`
- Allow ignoring by multiple metadata entries in RSpec/SpecFilePathFormat
- CI: Reduce duplication by having extra gemfiles
- Suggest usage of aggregate_failures directly in RSpec/MultipleExpectation error message
- `RSpec/LetSetup` false positive when used only on a block declared on an outer context
- Fix false positive in `RSpec/LetSetup` cop when `let!` variables are used in blocks declared in an outer context
- Add NegatedMatcher support to RSpec/ExpectChange
- CI: Add JRuby 10.0
- Restore `EnforcedStyle: string` option to `VerifiedDoubleReference`
- `RSpec/LeadingSubject` crashes under TargetRubyVersion: 3.4 with prism
- Docs
- RuboCop::Cop::RSpec::LeakyLocalVariable#includes_method?
- RuboCop::Cop::RSpec::LeakyLocalVariable#example_method?
- RuboCop::Cop::RSpec::IteratedExpectation#uses_argument_in_matcher?
- RuboCop::Cop::RSpec::IteratedExpectation#single_expectation_replacement
- RuboCop::Cop::RSpec::IteratedExpectation#check_offense
- RuboCop::RSpec::Language::ErrorMatchers.all
- RuboCop::Cop::RSpec::LeakyConstantDeclaration#explicit_namespace?
- RuboCop::Cop::RSpec::IncludeExamples#on_send
- RuboCop::RSpec::Plugin#rules
- RuboCop::RSpec::Plugin#supported?