Skip to content

Commit b6d0ec3

Browse files
committed
Set up Rubocop
1 parent 9356e9b commit b6d0ec3

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.rubocop.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
inherit_gem:
2+
rubocop-shopify: rubocop.yml
3+
4+
require: rubocop-minitest
5+
16
AllCops:
7+
SuggestExtensions: false
28
TargetRubyVersion: 2.6
39

410
Style/StringLiterals:

shopify-ruby-definitions.gemspec

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ Gem::Specification.new do |spec|
2929
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
3030
spec.require_paths = ["lib"]
3131

32-
# Uncomment to register a new dependency of your gem
33-
# spec.add_dependency "example-gem", "~> 1.0"
34-
35-
# For more information and examples about making a new gem, check out our
36-
# guide at: https://bundler.io/guides/creating_gem.html
32+
spec.add_development_dependency("rubocop-minitest")
33+
spec.add_development_dependency("rubocop-shopify")
3734
end

0 commit comments

Comments
 (0)