# RuboCop RSpec

> RuboCop extension with cops for RSpec test files

Source: https://talira.ai/catalog/rubocop-rspec-qqbxpw4a
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin
- Categories: [developer tools / linting](https://talira.ai/categories/developer-tools/linting), [languages / ruby](https://talira.ai/categories/languages/ruby)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [RuboCop](https://talira.ai/orgs/rubocop.md)
- Funding: funded by donations[^2][^3]

RuboCop RSpec adds RSpec-specific analysis to [RuboCop](https://talira.ai/catalog/rubocop-rxzhjmy8.md), the Ruby linter: a set of cops that check spec files for style and correctness. You install the rubocop-rspec gem and load it as a plugin in your .rubocop.yml, and RuboCop then reports its offences alongside its own.

## Links

- Website: https://docs.rubocop.org/rubocop-rspec/
- GitHub: https://github.com/rubocop/rubocop-rspec
- Docs: https://docs.rubocop.org/rubocop-rspec/

## Problems it solves

- enforce a consistent style across our RSpec test files
- lint RSpec specs for common mistakes in CI
- catch badly written RSpec examples before code review

## Features

- RSpec-specific cops for spec files
- loads as a RuboCop plugin from .rubocop.yml

## Trust

Overall: 0.67 out of 1.
Signals: maintenance 1.00, adoption 0.59, momentum 0.25, community 0.91, backing 0.55, extensibility 0.00.

- last commit 3 days ago
- 63 commits in the last 90 days
- latest release v3.10.2 5 months ago
- 861 GitHub stars
- 190 contributors
- accepts sponsorship (Github, Patreon, Open Collective)
- backed by RuboCop
- funding: funded by donations

## Related

- Works with [RuboCop](https://talira.ai/catalog/rubocop-rxzhjmy8.md)
- Works with [RSpec](https://talira.ai/catalog/rspec-87n8pes2.md)

## Alternatives

- [Clippy](https://talira.ai/catalog/clippy-bkdfvrsx.md): The official Rust linter: 800+ lints for common mistakes and unidiomatic code
- [RuboCop](https://talira.ai/catalog/rubocop-rxzhjmy8.md): A Ruby static code analyzer and formatter, based on the community Ruby style guide.
- [Stylelint](https://talira.ai/catalog/stylelint-3yp7yn7p.md): A CSS linter that catches errors and enforces conventions in your stylesheets
- [Flake8](https://talira.ai/catalog/flake8-5xc1rb83.md): A Python linter that checks style and common errors by combining pycodestyle, pyflakes and McCabe
- [eslint-plugin-jest](https://talira.ai/catalog/eslint-plugin-jest-jw6hqh62.md): ESLint rules for Jest tests
- [lintr](https://talira.ai/catalog/lintr-dp3s8zg8.md): Static code analysis and style checking for R

## Sources

[^1]: https://github.com/rubocop/rubocop-rspec/blob/master/MIT-LICENSE.md (checked 28 Nov 2026)
[^2]: https://opencollective.com/rubocop (checked 20 Nov 2026)
[^3]: https://github.com/rubocop/rubocop (checked 20 Nov 2026)
