Skip to content

Commit

Permalink
Revert "Change how rules are referenced (#124)"
Browse files Browse the repository at this point in the history
This reverts commit 22e7943.
  • Loading branch information
Tabby authored Jul 11, 2024
1 parent 22e7943 commit 6c5b5f4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
11 changes: 6 additions & 5 deletions capybara.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ require:
- rubocop-capybara

# new in 2.13
RSpec/Capybara/SpecificFinders:
Capybara/SpecificFinders:
Enabled: true

RSpec/Capybara/SpecificMatcher: # new in 2.12
# new in 2.12
Capybara/SpecificMatcher:
Enabled: true

RSpec/Capybara/NegationMatcher: # new in 2.14
Capybara/NegationMatcher: # new in 2.14
Enabled: true

RSpec/Capybara/SpecificActions: # new in 2.14
Capybara/SpecificActions: # new in 2.14
Enabled: false
2 changes: 1 addition & 1 deletion gc_ruboconfig.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = 'gc_ruboconfig'
spec.version = '5.0.1'
spec.version = '5.0.0'
spec.summary = "GoCardless's shared Rubocop configuration, conforming to our house style"
spec.authors = %w[GoCardless]
spec.homepage = 'https://github.com/gocardless/ruboconfig'
Expand Down
4 changes: 2 additions & 2 deletions rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ RSpec/SortMetadata: # new in 2.14
Enabled: true

# Seems to be buggy, causes an infinite loop for `subjects` named `create`
RSpec/FactoryBot/ConsistentParenthesesStyle: # new in 2.14
FactoryBot/ConsistentParenthesesStyle: # new in 2.14
Enabled: false

Style/AndOr:
Expand All @@ -665,4 +665,4 @@ Style/AndOr:

# Autocorrect is a little simplified and can lead to confusion
RSpec/ExampleWording:
Enabled: false
Enabled: false

0 comments on commit 6c5b5f4

Please sign in to comment.