Bump rubocop-capybara from 2.21.0 to 2.22.1
`Capybara/ClickLinkOrButtonStyle` is now deprecated, so we're replacing it with `Capybara/AmbiguousClick`. We're also changing the `.rubocop.yml` file because we were getting a warning: ``` rubocop-capybara extension supports plugin, specify `plugins: rubocop-capybara` instead of `require: rubocop-capybara` in .rubocop.yml. For more information, see https://docs.rubocop.org/rubocop/plugin_migration_guide.html. ``` Bumps [rubocop-capybara](https://github.com/rubocop/rubocop-capybara) from 2.21.0 to 2.22.1. - [Release notes](https://github.com/rubocop/rubocop-capybara/releases) - [Changelog](https://github.com/rubocop/rubocop-capybara/blob/main/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-capybara/compare/v2.21.0...v2.22.1) --- updated-dependencies: - dependency-name: rubocop-capybara dependency-version: 2.22.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
Javi Martín
parent
00bff60afa
commit
6bc24755bc
@@ -1,8 +1,8 @@
|
||||
plugins:
|
||||
- rubocop-capybara
|
||||
- rubocop-factory_bot
|
||||
- rubocop-rspec
|
||||
require:
|
||||
- rubocop-capybara
|
||||
- rubocop-performance
|
||||
- rubocop-rails
|
||||
- rubocop-rspec_rails
|
||||
@@ -24,9 +24,8 @@ Bundler/OrderedGems:
|
||||
Enabled: true
|
||||
ConsiderPunctuation: true
|
||||
|
||||
Capybara/ClickLinkOrButtonStyle:
|
||||
Capybara/AmbiguousClick:
|
||||
Enabled: true
|
||||
EnforcedStyle: strict
|
||||
|
||||
Capybara/CurrentPathExpectation:
|
||||
Enabled: true
|
||||
|
||||
2
Gemfile
2
Gemfile
@@ -104,7 +104,7 @@ group :development do
|
||||
gem "pronto-rubocop", "~> 0.11.6", require: false
|
||||
gem "pronto-stylelint", "~> 0.11.1", require: false
|
||||
gem "rubocop", "~> 1.76.1", require: false
|
||||
gem "rubocop-capybara", "~> 2.21.0", require: false
|
||||
gem "rubocop-capybara", "~> 2.22.1", require: false
|
||||
gem "rubocop-factory_bot", "~> 2.27.1", require: false
|
||||
gem "rubocop-performance", "~> 1.23.1", require: false
|
||||
gem "rubocop-rails", "~> 2.29.1", require: false
|
||||
|
||||
@@ -639,8 +639,9 @@ GEM
|
||||
rubocop-ast (1.47.1)
|
||||
parser (>= 3.3.7.2)
|
||||
prism (~> 1.4)
|
||||
rubocop-capybara (2.21.0)
|
||||
rubocop (~> 1.41)
|
||||
rubocop-capybara (2.22.1)
|
||||
lint_roller (~> 1.1)
|
||||
rubocop (~> 1.72, >= 1.72.1)
|
||||
rubocop-factory_bot (2.27.1)
|
||||
lint_roller (~> 1.1)
|
||||
rubocop (~> 1.72, >= 1.72.1)
|
||||
@@ -886,7 +887,7 @@ DEPENDENCIES
|
||||
ros-apartment (~> 3.2.0)
|
||||
rspec-rails (~> 7.1.1)
|
||||
rubocop (~> 1.76.1)
|
||||
rubocop-capybara (~> 2.21.0)
|
||||
rubocop-capybara (~> 2.22.1)
|
||||
rubocop-factory_bot (~> 2.27.1)
|
||||
rubocop-performance (~> 1.23.1)
|
||||
rubocop-rails (~> 2.29.1)
|
||||
|
||||
Reference in New Issue
Block a user