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
|
||||
|
||||
Reference in New Issue
Block a user