You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds support for RuboCop's Plugin feature.
It replaces the ad-hoc `Inject` hack with the RuboCop plugin system introduced in RuboCop 1.72.
- rubocop/rubocop#13792
- https://docs.rubocop.org/rubocop/plugin_migration_guide.html
Accordingly, rubocop-airbnb has been updated to require specific versions of the following
RuboCop extension plugins it depends on
- rubocop-performance (`~> 1.24`)
- rubocop-rails (`~> 2.30`)
- rubocop-rspec (`~> 3.5`)
The most significant change is that rubocop-rspec has been updated from version 2 to version 3.
As a result, `RSpec/Capybara` and `RSpec/FactoryBot` have been extracted into the following extension gems:
- rubocop-capybara
- rubocop-factory_bot
This PR adds dependencies on both rubocop-capybara and rubocop-rspec extensions to maintain
the previous rubocop-rspec configuration.
`RSpec/FilePath` has been split into `RSpec/SpecFilePathFormat` and `RSpec/SpecFilePathSuffix`,
so the original disabling has been retained in the configuration.
Similarly, `RSpec/Capybara/FeatureMethods` remains disabled as `RSpec/Dialect`.
https://github.com/rubocop/rubocop-rspec/blob/v3.5.0/config/obsoletion.ymlResolvesrubocop/rubocop-factory_bot#147.
0 commit comments