Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add and configure rubocop-rspec #9206

Merged
merged 4 commits into from
Mar 6, 2024
Merged

Add and configure rubocop-rspec #9206

merged 4 commits into from
Mar 6, 2024

Conversation

JamieMagee
Copy link
Contributor

rubocop-rspec is a set of RuboCop rules for RSpec.
This change adds a dependency on rubocop-rspec and configures it in our .rubocop.yml.
2 rules, RSpec/FilePath and RSpec/SpecFilePathFormat, were disabled to keep the diff small.
They can be re-enabled later.

Also, rubocop-rspec follows RuboCop's versioning, and newly introduced rules are not enabled by default.
As you can see, the minor version is 27, so there are quite a few rules that we should evaluate and explicitly enable.

@JamieMagee JamieMagee requested a review from a team as a code owner March 4, 2024 21:18
@JamieMagee JamieMagee force-pushed the jamiemagee/rubocop-rspec branch 2 times, most recently from fd46cc0 to 96fae57 Compare March 4, 2024 21:30
@JamieMagee JamieMagee force-pushed the jamiemagee/rubocop-rspec branch 2 times, most recently from 1b1cc1f to 85d134d Compare March 5, 2024 05:23
[`rubocop-rspec`][1] is a set of RuboCop rules for RSpec.
This change adds a dependency on `rubocop-rspec` and configures it in our `.rubocop.yml`.
2 rules, `RSpec/FilePath` and `RSpec/SpecFilePathFormat`, were disabled to keep the diff small.
They can be re-enabled later.

Also, `rubocop-rspec` follows RuboCop's versioning, and newly introduced rules are not enabled by default.
As you can see, the minor version is `27`, so there are quite a few rules that we should evaluate and explicitly enable.

[1]: https://docs.rubocop.org/rubocop-rspec/index.html
@bdragon bdragon merged commit 0f9f95b into main Mar 6, 2024
121 checks passed
@bdragon bdragon deleted the jamiemagee/rubocop-rspec branch March 6, 2024 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants