-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
950d0c3
commit 2474ac0
Showing
5 changed files
with
31 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
require: | ||
- rubocop-capybara | ||
|
||
# new in 2.13 | ||
Capybara/SpecificFinders: | ||
Enabled: true | ||
|
||
# new in 2.12 | ||
Capybara/SpecificMatcher: | ||
Enabled: true | ||
|
||
Capybara/NegationMatcher: # new in 2.14 | ||
Enabled: true | ||
|
||
Capybara/SpecificActions: # new in 2.14 | ||
Enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,16 +2,15 @@ | |
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'gc_ruboconfig' | ||
spec.version = '4.6.0' | ||
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' | ||
spec.email = %w[[email protected]] | ||
spec.license = 'MIT' | ||
|
||
spec.files = ['rubocop.yml', 'rails.yml'] | ||
spec.files = ['rubocop.yml', 'rails.yml', 'capybara.yml'] | ||
spec.add_dependency 'rubocop', '>= 1.63' | ||
spec.add_dependency 'rubocop-capybara', '>= 2.21.0' | ||
spec.add_dependency 'rubocop-factory_bot', '>= 2.26.1' | ||
spec.add_dependency 'rubocop-performance', '>= 1.21' | ||
spec.add_dependency 'rubocop-rails', '>= 2.25.0' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
require: | ||
- rubocop-rails | ||
- rubocop-rspec_rails | ||
|
||
Rails/AddColumnIndex: | ||
Enabled: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters