Update rubocop-shopify (2.7.0 -> 2.12.0) (#1687)

This commit is contained in:
Guilherme Carreiro
2023-02-15 08:40:59 +01:00
committed by GitHub
parent abef59d129
commit 9ab688eada
38 changed files with 720 additions and 382 deletions
+8 -3
View File
@@ -12,6 +12,7 @@ Performance:
AllCops:
TargetRubyVersion: 2.7
NewCops: disable
SuggestExtensions: false
Exclude:
- 'vendor/bundle/**/*'
@@ -19,6 +20,10 @@ Naming/MethodName:
Exclude:
- 'example/server/liquid_servlet.rb'
# Backport https://github.com/Shopify/ruby-style-guide/pull/258
Layout/BeginEndAlignment:
Enabled: true
Style/ClassMethodsDefinitions:
Enabled: false
# liquid filter calls were being mistaken to be calls on arrays
Style/ConcatArrayLiterals:
Exclude:
- 'test/integration/standard_filter_test.rb'