Skip to content

Commit

Permalink
Fix NegationMatcher
Browse files Browse the repository at this point in the history
Though the default was changed in
rubocop/rubocop-capybara#57, there is some
confusion around desired behavior and I think this reads better.
  • Loading branch information
Michael Siegfried committed Jan 7, 2024
1 parent e18e358 commit fadcb04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ AllCops:
NewCops: enable
TargetRubyVersion: 2.7

# Supposedly the default, but seems to be acting the opposite
Capybara/NegationMatcher:
EnforcedStyle: not_to

Layout/HashAlignment:
EnforcedColonStyle: table
EnforcedHashRocketStyle: table
Expand Down

0 comments on commit fadcb04

Please sign in to comment.