Skip to content

Commit

Permalink
Update RuboCop configuration and installed related gems
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbraksa committed May 5, 2024
1 parent 3f46bce commit c6de1e0
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
inherit_gem:
rubocop-shopify: rubocop.yml

AllCops:
TargetRubyVersion: 3.0

Style/StringLiterals:
EnforcedStyle: double_quotes

Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
require:
- rubocop-rake
- rubocop-performance
- rubocop-rspec
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ gem "rake", "~> 13.0"
gem "rspec", "~> 3.0"

gem "rubocop"
gem "rubocop-rspec"
gem "rubocop-rake"
gem "rubocop-performance"
gem "rubocop-shopify", require: false
gem "ruby-lsp"

gem "clipboard"
Expand Down
22 changes: 22 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,24 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.25.1)
rubocop (~> 1.41)
rubocop-performance (1.21.0)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.29.2)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.28.3)
rubocop (~> 1.40)
rubocop-shopify (2.15.1)
rubocop (~> 1.51)
ruby-lsp (0.16.6)
language_server-protocol (~> 3.17.0)
prism (>= 0.23.0, < 0.28)
Expand Down Expand Up @@ -93,6 +111,10 @@ DEPENDENCIES
rake (~> 13.0)
rspec (~> 3.0)
rubocop
rubocop-performance
rubocop-rake
rubocop-rspec
rubocop-shopify
ruby-lsp
ruby-openai
shelp!
Expand Down

0 comments on commit c6de1e0

Please sign in to comment.