Merge pull request #1402 from Shopify/rubocop-shopify

Use the rubocop-shopify gem and autocorrect
This commit is contained in:
Dylan Thacker-Smith
2021-03-16 17:39:09 -04:00
committed by GitHub
6 changed files with 14 additions and 1033 deletions
File diff suppressed because it is too large Load Diff
+3 -1
View File
@@ -1,5 +1,7 @@
inherit_gem:
rubocop-shopify: rubocop.yml
inherit_from: inherit_from:
- 'https://shopify.github.io/ruby-style-guide/rubocop.yml'
- .rubocop_todo.yml - .rubocop_todo.yml
require: rubocop-performance require: rubocop-performance
+1
View File
@@ -19,6 +19,7 @@ end
group :test do group :test do
gem 'rubocop', '~> 1.4', require: false gem 'rubocop', '~> 1.4', require: false
gem 'rubocop-shopify', '~> 1.0.7', require: false
gem 'rubocop-performance', require: false gem 'rubocop-performance', require: false
platform :mri, :truffleruby do platform :mri, :truffleruby do