Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 36 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
require:
- rubocop-rails
- rubocop-rspec
- rubocop-capybara
- ./lib/linters/i18n_helper_html_linter.rb
- ./lib/linters/analytics_event_name_linter.rb
- ./lib/linters/localized_validation_message_linter.rb
Expand All @@ -15,9 +14,12 @@ require:
- ./lib/linters/redirect_back_linter.rb
- ./lib/linters/url_options_linter.rb
- ./lib/linters/errors_add_linter.rb
- ./lib/linters/capybara_current_url_expect_linter.rb
- ./lib/linters/capybara_current_path_equality_linter.rb

plugins:
- rubocop-performance
- rubocop-capybara

AllCops:
Exclude:
Expand Down Expand Up @@ -46,12 +48,45 @@ Bundler/DuplicatedGem:
Bundler/InsecureProtocolSource:
Enabled: true

Capybara/AmbiguousClick:
Enabled: false

Capybara/CurrentPathExpectation:
Enabled: true

Capybara/FindAllFirst:
Enabled: true

Capybara/MatchStyle:
Enabled: true

Capybara/RedundantWithinFind:
Enabled: true

Capybara/RSpec/PredicateMatcher:
Enabled: true

Capybara/SpecificActions:
Enabled: true

Capybara/SpecificFinders:
Enabled: false

Capybara/SpecificMatcher:
Enabled: false

Capybara/VisibilityMatcher:
Enabled: false

Gemspec/DuplicatedAssignment:
Enabled: true

IdentityIdp/CapybaraCurrentUrlExpectLinter:
Enabled: true

IdentityIdp/CapybaraCurrentPathEqualityLinter:
Enabled: true

IdentityIdp/I18nHelperHtmlLinter:
Enabled: true
Include:
Expand Down
5 changes: 3 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,9 @@ GEM
rubocop-ast (1.46.0)
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-performance (1.25.0)
lint_roller (~> 1.1)
rubocop (>= 1.75.0, < 2.0)
Expand Down
2 changes: 1 addition & 1 deletion app/assets/images/come-back.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/email/letter-success.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/assets/images/empty-loc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading