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::RSpec::Plugin#about
- RuboCop::Cop::RSpec::ImplicitExpect#range_for_is_expected
- RuboCop::Cop::RSpec::Focus#on_metadata
- RuboCop::Cop::RSpec::Focus#on_focused_block
- RuboCop::Cop::RSpec::InflectedHelper#cannot_replace_predicate?
- RuboCop::Cop::RSpec::VerifiedDoubleReference#autocorrect
- RuboCop::Cop::RSpec::SortMetadata#last_arg_could_be_a_hash?
- RuboCop::Cop::RSpec::SortMetadata#trailing_symbols
- RuboCop::Cop::RSpec::SortMetadata#match_ambiguous_trailing_metadata?
- RuboCop::Cop::RSpec::VoidExpect#inside_example?