rubocop-shopify 2.15.1 → 2.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/rubocop-cli.yml +0 -3
 - data/rubocop.yml +147 -41
 - metadata +7 -10
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 82fa7ddd2c92fee48eb0b2d54cb826063ab40be8c2bb106235982c2ecf982d59
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: eb16ea7d768e9432ec48ec2586c3bd0a6f72c3c497cc16cc66864b6f2f5a4dfc
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 1b06882d8c134635c899052a0155da225debf99a59f398e7ded408f8db93859f017549cd4636ebeeb101d7fb355954744cab032a69a6347ecdbab70fd19e04c6
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 5155c4fe53b9d99f7f19e8d8fad8bf3d3f3098fc108edde7f9fbf7940cbb1608f76b1806efa259c73efff5b909f704660fc8aba2296886208c5d81e4753b87a8
         
     | 
    
        data/rubocop-cli.yml
    CHANGED
    
    
    
        data/rubocop.yml
    CHANGED
    
    | 
         @@ -16,6 +16,11 @@ AllCops: 
     | 
|
| 
       16 
16 
     | 
    
         
             
            Bundler/OrderedGems:
         
     | 
| 
       17 
17 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
      
 19 
     | 
    
         
            +
            <% if rubocop_version >= "1.65" %>
         
     | 
| 
      
 20 
     | 
    
         
            +
            Gemspec/AddRuntimeDependency:
         
     | 
| 
      
 21 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 22 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
       19 
24 
     | 
    
         
             
            Gemspec/DeprecatedAttributeAssignment:
         
     | 
| 
       20 
25 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       21 
26 
     | 
    
         | 
| 
         @@ -60,6 +65,11 @@ Layout/FirstMethodArgumentLineBreak: 
     | 
|
| 
       60 
65 
     | 
    
         
             
            Layout/HashAlignment:
         
     | 
| 
       61 
66 
     | 
    
         
             
              EnforcedLastArgumentHashStyle: ignore_implicit
         
     | 
| 
       62 
67 
     | 
    
         | 
| 
      
 68 
     | 
    
         
            +
            <% if rubocop_version >= "1.67" %>
         
     | 
| 
      
 69 
     | 
    
         
            +
            Layout/LeadingCommentSpace:
         
     | 
| 
      
 70 
     | 
    
         
            +
              AllowRBSInlineAnnotation: true
         
     | 
| 
      
 71 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 72 
     | 
    
         
            +
             
     | 
| 
       63 
73 
     | 
    
         
             
            Layout/LineContinuationLeadingSpace:
         
     | 
| 
       64 
74 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       65 
75 
     | 
    
         | 
| 
         @@ -111,6 +121,11 @@ Lint/AmbiguousOperatorPrecedence: 
     | 
|
| 
       111 
121 
     | 
    
         
             
            Lint/AmbiguousRange:
         
     | 
| 
       112 
122 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       113 
123 
     | 
    
         | 
| 
      
 124 
     | 
    
         
            +
            <% if rubocop_version >= "1.71" %>
         
     | 
| 
      
 125 
     | 
    
         
            +
            Lint/ArrayLiteralInRegexp:
         
     | 
| 
      
 126 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 127 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 128 
     | 
    
         
            +
             
     | 
| 
       114 
129 
     | 
    
         
             
            Lint/BooleanSymbol:
         
     | 
| 
       115 
130 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       116 
131 
     | 
    
         | 
| 
         @@ -120,6 +135,16 @@ Lint/ConstantDefinitionInBlock: 
     | 
|
| 
       120 
135 
     | 
    
         
             
            Lint/ConstantOverwrittenInRescue:
         
     | 
| 
       121 
136 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       122 
137 
     | 
    
         | 
| 
      
 138 
     | 
    
         
            +
            <% if rubocop_version >= "1.70" %>
         
     | 
| 
      
 139 
     | 
    
         
            +
            Lint/ConstantReassignment:
         
     | 
| 
      
 140 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 141 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 142 
     | 
    
         
            +
             
     | 
| 
      
 143 
     | 
    
         
            +
            <% if rubocop_version >= "1.72" %>
         
     | 
| 
      
 144 
     | 
    
         
            +
            Lint/CopDirectiveSyntax:
         
     | 
| 
      
 145 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 146 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 147 
     | 
    
         
            +
             
     | 
| 
       123 
148 
     | 
    
         
             
            Lint/DeprecatedConstants:
         
     | 
| 
       124 
149 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       125 
150 
     | 
    
         | 
| 
         @@ -150,6 +175,11 @@ Lint/DuplicateRequire: 
     | 
|
| 
       150 
175 
     | 
    
         
             
            Lint/DuplicateRescueException:
         
     | 
| 
       151 
176 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       152 
177 
     | 
    
         | 
| 
      
 178 
     | 
    
         
            +
            <% if rubocop_version >= "1.67" %>
         
     | 
| 
      
 179 
     | 
    
         
            +
            Lint/DuplicateSetElement:
         
     | 
| 
      
 180 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 181 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 182 
     | 
    
         
            +
             
     | 
| 
       153 
183 
     | 
    
         
             
            Lint/EmptyBlock:
         
     | 
| 
       154 
184 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       155 
185 
     | 
    
         | 
| 
         @@ -180,6 +210,11 @@ Lint/FloatComparison: 
     | 
|
| 
       180 
210 
     | 
    
         
             
            Lint/HashCompareByIdentity:
         
     | 
| 
       181 
211 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       182 
212 
     | 
    
         | 
| 
      
 213 
     | 
    
         
            +
            <% if rubocop_version >= "1.69" %>
         
     | 
| 
      
 214 
     | 
    
         
            +
            Lint/HashNewWithKeywordArgumentsAsDefault:
         
     | 
| 
      
 215 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 216 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 217 
     | 
    
         
            +
             
     | 
| 
       183 
218 
     | 
    
         
             
            Lint/IdentityComparison:
         
     | 
| 
       184 
219 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       185 
220 
     | 
    
         | 
| 
         @@ -189,23 +224,17 @@ Lint/IncompatibleIoSelectWithFiberScheduler: 
     | 
|
| 
       189 
224 
     | 
    
         
             
            Lint/InterpolationCheck:
         
     | 
| 
       190 
225 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       191 
226 
     | 
    
         | 
| 
       192 
     | 
    
         
            -
            <% if rubocop_version >= "1.59" %>
         
     | 
| 
       193 
227 
     | 
    
         
             
            Lint/ItWithoutArgumentsInBlock:
         
     | 
| 
       194 
228 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       195 
     | 
    
         
            -
            <% end %>
         
     | 
| 
       196 
229 
     | 
    
         | 
| 
       197 
230 
     | 
    
         
             
            Lint/LambdaWithoutLiteralBlock:
         
     | 
| 
       198 
231 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       199 
232 
     | 
    
         | 
| 
       200 
     | 
    
         
            -
            <% if rubocop_version >= "1.58" %>
         
     | 
| 
       201 
233 
     | 
    
         
             
            Lint/LiteralAssignmentInCondition:
         
     | 
| 
       202 
234 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       203 
     | 
    
         
            -
            <% end %>
         
     | 
| 
       204 
235 
     | 
    
         | 
| 
       205 
     | 
    
         
            -
            <% if rubocop_version >= "1.53" %>
         
     | 
| 
       206 
236 
     | 
    
         
             
            Lint/MixedCaseRange:
         
     | 
| 
       207 
237 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       208 
     | 
    
         
            -
            <% end %>
         
     | 
| 
       209 
238 
     | 
    
         | 
| 
       210 
239 
     | 
    
         
             
            Lint/MixedRegexpCaptureTypes:
         
     | 
| 
       211 
240 
     | 
    
         
             
              Enabled: false
         
     | 
| 
         @@ -228,6 +257,11 @@ Lint/NonDeterministicRequireOrder: 
     | 
|
| 
       228 
257 
     | 
    
         
             
            Lint/NumberedParameterAssignment:
         
     | 
| 
       229 
258 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       230 
259 
     | 
    
         | 
| 
      
 260 
     | 
    
         
            +
            <% if rubocop_version >= "1.69" %>
         
     | 
| 
      
 261 
     | 
    
         
            +
            Lint/NumericOperationWithConstantResult:
         
     | 
| 
      
 262 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 263 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 264 
     | 
    
         
            +
             
     | 
| 
       231 
265 
     | 
    
         
             
            Lint/OrAssignmentToConstant:
         
     | 
| 
       232 
266 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       233 
267 
     | 
    
         | 
| 
         @@ -240,10 +274,8 @@ Lint/RaiseException: 
     | 
|
| 
       240 
274 
     | 
    
         
             
            Lint/RedundantDirGlobSort:
         
     | 
| 
       241 
275 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       242 
276 
     | 
    
         | 
| 
       243 
     | 
    
         
            -
            <% if rubocop_version >= "1.53" %>
         
     | 
| 
       244 
277 
     | 
    
         
             
            Lint/RedundantRegexpQuantifiers:
         
     | 
| 
       245 
278 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       246 
     | 
    
         
            -
            <% end %>
         
     | 
| 
       247 
279 
     | 
    
         | 
| 
       248 
280 
     | 
    
         
             
            Lint/RedundantRequireStatement:
         
     | 
| 
       249 
281 
     | 
    
         
             
              Enabled: false
         
     | 
| 
         @@ -251,6 +283,11 @@ Lint/RedundantRequireStatement: 
     | 
|
| 
       251 
283 
     | 
    
         
             
            Lint/RedundantSafeNavigation:
         
     | 
| 
       252 
284 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       253 
285 
     | 
    
         | 
| 
      
 286 
     | 
    
         
            +
            <% if rubocop_version >= "1.72" %>
         
     | 
| 
      
 287 
     | 
    
         
            +
            Lint/RedundantTypeConversion:
         
     | 
| 
      
 288 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 289 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 290 
     | 
    
         
            +
             
     | 
| 
       254 
291 
     | 
    
         
             
            Lint/RedundantWithIndex:
         
     | 
| 
       255 
292 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       256 
293 
     | 
    
         | 
| 
         @@ -296,9 +333,19 @@ Lint/ShadowedArgument: 
     | 
|
| 
       296 
333 
     | 
    
         
             
            Lint/ShadowingOuterLocalVariable:
         
     | 
| 
       297 
334 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       298 
335 
     | 
    
         | 
| 
      
 336 
     | 
    
         
            +
            <% if rubocop_version >= "1.70" %>
         
     | 
| 
      
 337 
     | 
    
         
            +
            Lint/SharedMutableDefault:
         
     | 
| 
      
 338 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 339 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 340 
     | 
    
         
            +
             
     | 
| 
       299 
341 
     | 
    
         
             
            Lint/StructNewOverride:
         
     | 
| 
       300 
342 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       301 
343 
     | 
    
         | 
| 
      
 344 
     | 
    
         
            +
            <% if rubocop_version >= "1.72" %>
         
     | 
| 
      
 345 
     | 
    
         
            +
            Lint/SuppressedExceptionInNumberConversion:
         
     | 
| 
      
 346 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 347 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 348 
     | 
    
         
            +
             
     | 
| 
       302 
349 
     | 
    
         
             
            Lint/SymbolConversion:
         
     | 
| 
       303 
350 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       304 
351 
     | 
    
         | 
| 
         @@ -317,6 +364,11 @@ Lint/TrailingCommaInAttributeDeclaration: 
     | 
|
| 
       317 
364 
     | 
    
         
             
            Lint/TripleQuotes:
         
     | 
| 
       318 
365 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       319 
366 
     | 
    
         | 
| 
      
 367 
     | 
    
         
            +
            <% if rubocop_version >= "1.68" %>
         
     | 
| 
      
 368 
     | 
    
         
            +
            Lint/UnescapedBracketInRegexp:
         
     | 
| 
      
 369 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 370 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 371 
     | 
    
         
            +
             
     | 
| 
       320 
372 
     | 
    
         
             
            Lint/UnexpectedBlockArity:
         
     | 
| 
       321 
373 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       322 
374 
     | 
    
         | 
| 
         @@ -335,9 +387,24 @@ Lint/UriEscapeUnescape: 
     | 
|
| 
       335 
387 
     | 
    
         
             
            Lint/UriRegexp:
         
     | 
| 
       336 
388 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       337 
389 
     | 
    
         | 
| 
      
 390 
     | 
    
         
            +
            <% if rubocop_version >= "1.72" %>
         
     | 
| 
      
 391 
     | 
    
         
            +
            Lint/UselessConstantScoping:
         
     | 
| 
      
 392 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 393 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 394 
     | 
    
         
            +
             
     | 
| 
      
 395 
     | 
    
         
            +
            <% if rubocop_version >= "1.69" %>
         
     | 
| 
      
 396 
     | 
    
         
            +
            Lint/UselessDefined:
         
     | 
| 
      
 397 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 398 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 399 
     | 
    
         
            +
             
     | 
| 
       338 
400 
     | 
    
         
             
            Lint/UselessMethodDefinition:
         
     | 
| 
       339 
401 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       340 
402 
     | 
    
         | 
| 
      
 403 
     | 
    
         
            +
            <% if rubocop_version >= "1.66" %>
         
     | 
| 
      
 404 
     | 
    
         
            +
            Lint/UselessNumericOperation:
         
     | 
| 
      
 405 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 406 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 407 
     | 
    
         
            +
             
     | 
| 
       341 
408 
     | 
    
         
             
            Lint/UselessRescue:
         
     | 
| 
       342 
409 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       343 
410 
     | 
    
         | 
| 
         @@ -389,21 +456,6 @@ Naming/HeredocDelimiterCase: 
     | 
|
| 
       389 
456 
     | 
    
         
             
            Naming/HeredocDelimiterNaming:
         
     | 
| 
       390 
457 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       391 
458 
     | 
    
         | 
| 
       392 
     | 
    
         
            -
            Naming/InclusiveLanguage:
         
     | 
| 
       393 
     | 
    
         
            -
              Enabled: true
         
     | 
| 
       394 
     | 
    
         
            -
              FlaggedTerms:
         
     | 
| 
       395 
     | 
    
         
            -
                master:
         
     | 
| 
       396 
     | 
    
         
            -
                  Suggestions:
         
     | 
| 
       397 
     | 
    
         
            -
                    - main
         
     | 
| 
       398 
     | 
    
         
            -
                    - primary
         
     | 
| 
       399 
     | 
    
         
            -
                    - leader
         
     | 
| 
       400 
     | 
    
         
            -
                  AllowedRegex:
         
     | 
| 
       401 
     | 
    
         
            -
                    - !ruby/regexp '/master[_\s\.]key/' # Rails master key
         
     | 
| 
       402 
     | 
    
         
            -
                    - !ruby/regexp /\w*:\/\/\S+/ # URLs (e.g. https://github.com/org/repo/blob/master/README.md)
         
     | 
| 
       403 
     | 
    
         
            -
                    - !ruby/regexp '/(?:blob|tree)/master/' # e.g. github.com/org/repo/blob/master/README.md, without https://
         
     | 
| 
       404 
     | 
    
         
            -
                    - !ruby/regexp '/origin[ \/]master/' # Legacy default git branch name
         
     | 
| 
       405 
     | 
    
         
            -
                    - !ruby/regexp '/(?<=[a-z])master|master(?=[a-z])/' # "master" substring within a longer word
         
     | 
| 
       406 
     | 
    
         
            -
             
     | 
| 
       407 
459 
     | 
    
         
             
            Naming/MemoizedInstanceVariableName:
         
     | 
| 
       408 
460 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       409 
461 
     | 
    
         | 
| 
         @@ -447,6 +499,11 @@ Style/AccessorGrouping: 
     | 
|
| 
       447 
499 
     | 
    
         
             
            Style/Alias:
         
     | 
| 
       448 
500 
     | 
    
         
             
              EnforcedStyle: prefer_alias_method
         
     | 
| 
       449 
501 
     | 
    
         | 
| 
      
 502 
     | 
    
         
            +
            <% if rubocop_version >= "1.68" %>
         
     | 
| 
      
 503 
     | 
    
         
            +
            Style/AmbiguousEndlessMethodDefinition:
         
     | 
| 
      
 504 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 505 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 506 
     | 
    
         
            +
             
     | 
| 
       450 
507 
     | 
    
         
             
            Style/ArgumentsForwarding:
         
     | 
| 
       451 
508 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       452 
509 
     | 
    
         | 
| 
         @@ -456,6 +513,11 @@ Style/ArrayIntersect: 
     | 
|
| 
       456 
513 
     | 
    
         
             
            Style/BisectedAttrAccessor:
         
     | 
| 
       457 
514 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       458 
515 
     | 
    
         | 
| 
      
 516 
     | 
    
         
            +
            <% if rubocop_version >= "1.68" %>
         
     | 
| 
      
 517 
     | 
    
         
            +
            Style/BitwisePredicate:
         
     | 
| 
      
 518 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 519 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 520 
     | 
    
         
            +
             
     | 
| 
       459 
521 
     | 
    
         
             
            Style/CaseEquality:
         
     | 
| 
       460 
522 
     | 
    
         
             
              AllowOnConstant: true
         
     | 
| 
       461 
523 
     | 
    
         
             
              AllowOnSelfClass: true
         
     | 
| 
         @@ -476,6 +538,11 @@ Style/CollectionCompact: 
     | 
|
| 
       476 
538 
     | 
    
         
             
            Style/ColonMethodDefinition:
         
     | 
| 
       477 
539 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       478 
540 
     | 
    
         | 
| 
      
 541 
     | 
    
         
            +
            <% if rubocop_version >= "1.68" %>
         
     | 
| 
      
 542 
     | 
    
         
            +
            Style/CombinableDefined:
         
     | 
| 
      
 543 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 544 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 545 
     | 
    
         
            +
             
     | 
| 
       479 
546 
     | 
    
         
             
            Style/CombinableLoops:
         
     | 
| 
       480 
547 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       481 
548 
     | 
    
         | 
| 
         @@ -497,6 +564,11 @@ Style/DataInheritance: 
     | 
|
| 
       497 
564 
     | 
    
         
             
            Style/DateTime:
         
     | 
| 
       498 
565 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       499 
566 
     | 
    
         | 
| 
      
 567 
     | 
    
         
            +
            <% if rubocop_version >= "1.69" %>
         
     | 
| 
      
 568 
     | 
    
         
            +
            Style/DigChain:
         
     | 
| 
      
 569 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 570 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 571 
     | 
    
         
            +
             
     | 
| 
       500 
572 
     | 
    
         
             
            Style/Dir:
         
     | 
| 
       501 
573 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       502 
574 
     | 
    
         | 
| 
         @@ -554,9 +626,19 @@ Style/FetchEnvVar: 
     | 
|
| 
       554 
626 
     | 
    
         
             
            Style/FileEmpty:
         
     | 
| 
       555 
627 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       556 
628 
     | 
    
         | 
| 
      
 629 
     | 
    
         
            +
            <% if rubocop_version >= "1.69" %>
         
     | 
| 
      
 630 
     | 
    
         
            +
            Style/FileNull:
         
     | 
| 
      
 631 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 632 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 633 
     | 
    
         
            +
             
     | 
| 
       557 
634 
     | 
    
         
             
            Style/FileRead:
         
     | 
| 
       558 
635 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       559 
636 
     | 
    
         | 
| 
      
 637 
     | 
    
         
            +
            <% if rubocop_version >= "1.69" %>
         
     | 
| 
      
 638 
     | 
    
         
            +
            Style/FileTouch:
         
     | 
| 
      
 639 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 640 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 641 
     | 
    
         
            +
             
     | 
| 
       560 
642 
     | 
    
         
             
            Style/FileWrite:
         
     | 
| 
       561 
643 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       562 
644 
     | 
    
         | 
| 
         @@ -591,8 +673,10 @@ Style/HashExcept: 
     | 
|
| 
       591 
673 
     | 
    
         
             
            Style/HashLikeCase:
         
     | 
| 
       592 
674 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       593 
675 
     | 
    
         | 
| 
       594 
     | 
    
         
            -
             
     | 
| 
       595 
     | 
    
         
            -
             
     | 
| 
      
 676 
     | 
    
         
            +
            <% if rubocop_version >= "1.71" %>
         
     | 
| 
      
 677 
     | 
    
         
            +
            Style/HashSlice:
         
     | 
| 
      
 678 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 679 
     | 
    
         
            +
            <% end %>
         
     | 
| 
       596 
680 
     | 
    
         | 
| 
       597 
681 
     | 
    
         
             
            Style/HashTransformKeys:
         
     | 
| 
       598 
682 
     | 
    
         
             
              Enabled: false
         
     | 
| 
         @@ -615,6 +699,16 @@ Style/InverseMethods: 
     | 
|
| 
       615 
699 
     | 
    
         
             
            Style/InvertibleUnlessCondition:
         
     | 
| 
       616 
700 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       617 
701 
     | 
    
         | 
| 
      
 702 
     | 
    
         
            +
            <% if rubocop_version >= "1.70" %>
         
     | 
| 
      
 703 
     | 
    
         
            +
            Style/ItAssignment:
         
     | 
| 
      
 704 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 705 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 706 
     | 
    
         
            +
             
     | 
| 
      
 707 
     | 
    
         
            +
            <% if rubocop_version >= "1.68" %>
         
     | 
| 
      
 708 
     | 
    
         
            +
            Style/KeywordArgumentsMerging:
         
     | 
| 
      
 709 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 710 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 711 
     | 
    
         
            +
             
     | 
| 
       618 
712 
     | 
    
         
             
            Style/KeywordParametersOrder:
         
     | 
| 
       619 
713 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       620 
714 
     | 
    
         | 
| 
         @@ -628,6 +722,11 @@ Style/MagicCommentFormat: 
     | 
|
| 
       628 
722 
     | 
    
         
             
            Style/MapCompactWithConditionalBlock:
         
     | 
| 
       629 
723 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       630 
724 
     | 
    
         | 
| 
      
 725 
     | 
    
         
            +
            <% if rubocop_version >= "1.63" %>
         
     | 
| 
      
 726 
     | 
    
         
            +
            Style/MapIntoArray:
         
     | 
| 
      
 727 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 728 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 729 
     | 
    
         
            +
             
     | 
| 
       631 
730 
     | 
    
         
             
            Style/MapToHash:
         
     | 
| 
       632 
731 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       633 
732 
     | 
    
         | 
| 
         @@ -730,10 +829,8 @@ Style/RandomWithOffset: 
     | 
|
| 
       730 
829 
     | 
    
         
             
            Style/RedundantArgument:
         
     | 
| 
       731 
830 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       732 
831 
     | 
    
         | 
| 
       733 
     | 
    
         
            -
            <% if rubocop_version >= "1.52" %>
         
     | 
| 
       734 
832 
     | 
    
         
             
            Style/RedundantArrayConstructor:
         
     | 
| 
       735 
833 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       736 
     | 
    
         
            -
            <% end %>
         
     | 
| 
       737 
834 
     | 
    
         | 
| 
       738 
835 
     | 
    
         
             
            Style/RedundantAssignment:
         
     | 
| 
       739 
836 
     | 
    
         
             
              Enabled: false
         
     | 
| 
         @@ -747,10 +844,8 @@ Style/RedundantConditional: 
     | 
|
| 
       747 
844 
     | 
    
         
             
            Style/RedundantConstantBase:
         
     | 
| 
       748 
845 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       749 
846 
     | 
    
         | 
| 
       750 
     | 
    
         
            -
            <% if rubocop_version >= "1.53" %>
         
     | 
| 
       751 
847 
     | 
    
         
             
            Style/RedundantCurrentDirectoryInPath:
         
     | 
| 
       752 
848 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       753 
     | 
    
         
            -
            <% end %>
         
     | 
| 
       754 
849 
     | 
    
         | 
| 
       755 
850 
     | 
    
         
             
            Style/RedundantDoubleSplatHashBraces:
         
     | 
| 
       756 
851 
     | 
    
         
             
              Enabled: true
         
     | 
| 
         @@ -764,9 +859,12 @@ Style/RedundantFetchBlock: 
     | 
|
| 
       764 
859 
     | 
    
         
             
            Style/RedundantFileExtensionInRequire:
         
     | 
| 
       765 
860 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       766 
861 
     | 
    
         | 
| 
       767 
     | 
    
         
            -
            <% if rubocop_version >= "1.52" %>
         
     | 
| 
       768 
862 
     | 
    
         
             
            Style/RedundantFilterChain:
         
     | 
| 
       769 
863 
     | 
    
         
             
              Enabled: true
         
     | 
| 
      
 864 
     | 
    
         
            +
             
     | 
| 
      
 865 
     | 
    
         
            +
            <% if rubocop_version >= "1.72" %>
         
     | 
| 
      
 866 
     | 
    
         
            +
            Style/RedundantFormat:
         
     | 
| 
      
 867 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
       770 
868 
     | 
    
         
             
            <% end %>
         
     | 
| 
       771 
869 
     | 
    
         | 
| 
       772 
870 
     | 
    
         
             
            Style/RedundantHeredocDelimiterQuotes:
         
     | 
| 
         @@ -775,21 +873,22 @@ Style/RedundantHeredocDelimiterQuotes: 
     | 
|
| 
       775 
873 
     | 
    
         
             
            Style/RedundantInitialize:
         
     | 
| 
       776 
874 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       777 
875 
     | 
    
         | 
| 
      
 876 
     | 
    
         
            +
            <% if rubocop_version >= "1.66" %>
         
     | 
| 
      
 877 
     | 
    
         
            +
            Style/RedundantInterpolationUnfreeze:
         
     | 
| 
      
 878 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 879 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 880 
     | 
    
         
            +
             
     | 
| 
       778 
881 
     | 
    
         
             
            Style/RedundantLineContinuation:
         
     | 
| 
       779 
882 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       780 
883 
     | 
    
         | 
| 
       781 
     | 
    
         
            -
            <% if rubocop_version >= "1.53" %>
         
     | 
| 
       782 
884 
     | 
    
         
             
            Style/RedundantRegexpArgument:
         
     | 
| 
       783 
885 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       784 
     | 
    
         
            -
            <% end %>
         
     | 
| 
       785 
886 
     | 
    
         | 
| 
       786 
887 
     | 
    
         
             
            Style/RedundantRegexpCharacterClass:
         
     | 
| 
       787 
888 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       788 
889 
     | 
    
         | 
| 
       789 
     | 
    
         
            -
            <% if rubocop_version >= "1.52" %>
         
     | 
| 
       790 
890 
     | 
    
         
             
            Style/RedundantRegexpConstructor:
         
     | 
| 
       791 
891 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       792 
     | 
    
         
            -
            <% end %>
         
     | 
| 
       793 
892 
     | 
    
         | 
| 
       794 
893 
     | 
    
         
             
            Style/RedundantRegexpEscape:
         
     | 
| 
       795 
894 
     | 
    
         
             
              Enabled: false
         
     | 
| 
         @@ -815,21 +914,27 @@ Style/RescueStandardError: 
     | 
|
| 
       815 
914 
     | 
    
         
             
            Style/ReturnNil:
         
     | 
| 
       816 
915 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       817 
916 
     | 
    
         | 
| 
       818 
     | 
    
         
            -
            <% if rubocop_version >= "1.53" %>
         
     | 
| 
       819 
917 
     | 
    
         
             
            Style/ReturnNilInPredicateMethodDefinition:
         
     | 
| 
       820 
918 
     | 
    
         
             
              Enabled: true
         
     | 
| 
      
 919 
     | 
    
         
            +
             
     | 
| 
      
 920 
     | 
    
         
            +
            <% if rubocop_version >= "1.68" %>
         
     | 
| 
      
 921 
     | 
    
         
            +
            Style/SafeNavigationChainLength:
         
     | 
| 
      
 922 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
       821 
923 
     | 
    
         
             
            <% end %>
         
     | 
| 
       822 
924 
     | 
    
         | 
| 
       823 
925 
     | 
    
         
             
            Style/SelectByRegexp:
         
     | 
| 
       824 
926 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       825 
927 
     | 
    
         | 
| 
      
 928 
     | 
    
         
            +
            <% if rubocop_version >= "1.64" %>
         
     | 
| 
      
 929 
     | 
    
         
            +
            Style/SendWithLiteralMethodName:
         
     | 
| 
      
 930 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 931 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 932 
     | 
    
         
            +
             
     | 
| 
       826 
933 
     | 
    
         
             
            Style/SingleArgumentDig:
         
     | 
| 
       827 
934 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       828 
935 
     | 
    
         | 
| 
       829 
     | 
    
         
            -
            <% if rubocop_version >= "1.57" %>
         
     | 
| 
       830 
936 
     | 
    
         
             
            Style/SingleLineDoEndBlock:
         
     | 
| 
       831 
937 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       832 
     | 
    
         
            -
            <% end %>
         
     | 
| 
       833 
938 
     | 
    
         | 
| 
       834 
939 
     | 
    
         
             
            Style/SlicingWithRange:
         
     | 
| 
       835 
940 
     | 
    
         
             
              Enabled: false
         
     | 
| 
         @@ -855,10 +960,13 @@ Style/StringLiteralsInInterpolation: 
     | 
|
| 
       855 
960 
     | 
    
         
             
            Style/StructInheritance:
         
     | 
| 
       856 
961 
     | 
    
         
             
              Enabled: false
         
     | 
| 
       857 
962 
     | 
    
         | 
| 
       858 
     | 
    
         
            -
            <% if rubocop_version >= "1. 
     | 
| 
      
 963 
     | 
    
         
            +
            <% if rubocop_version >= "1.64" %>
         
     | 
| 
      
 964 
     | 
    
         
            +
            Style/SuperArguments:
         
     | 
| 
      
 965 
     | 
    
         
            +
              Enabled: false
         
     | 
| 
      
 966 
     | 
    
         
            +
            <% end %>
         
     | 
| 
      
 967 
     | 
    
         
            +
             
     | 
| 
       859 
968 
     | 
    
         
             
            Style/SuperWithArgsParentheses:
         
     | 
| 
       860 
969 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       861 
     | 
    
         
            -
            <% end %>
         
     | 
| 
       862 
970 
     | 
    
         | 
| 
       863 
971 
     | 
    
         
             
            Style/SwapValues:
         
     | 
| 
       864 
972 
     | 
    
         
             
              Enabled: false
         
     | 
| 
         @@ -890,10 +998,8 @@ Style/UnpackFirst: 
     | 
|
| 
       890 
998 
     | 
    
         
             
            Style/WordArray:
         
     | 
| 
       891 
999 
     | 
    
         
             
              EnforcedStyle: brackets
         
     | 
| 
       892 
1000 
     | 
    
         | 
| 
       893 
     | 
    
         
            -
            <% if rubocop_version >= "1.53" %>
         
     | 
| 
       894 
1001 
     | 
    
         
             
            Style/YAMLFileRead:
         
     | 
| 
       895 
1002 
     | 
    
         
             
              Enabled: true
         
     | 
| 
       896 
     | 
    
         
            -
            <% end %>
         
     | 
| 
       897 
1003 
     | 
    
         | 
| 
       898 
1004 
     | 
    
         
             
            Style/YodaCondition:
         
     | 
| 
       899 
1005 
     | 
    
         
             
              Enabled: false
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: rubocop-shopify
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 2. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.16.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Shopify Engineering
         
     | 
| 
       8 
     | 
    
         
            -
            autorequire: 
         
     | 
| 
       9 
8 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
9 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 10 
     | 
    
         
            +
            date: 2025-03-04 00:00:00.000000000 Z
         
     | 
| 
       12 
11 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
12 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
13 
     | 
    
         
             
              name: rubocop
         
     | 
| 
         @@ -16,14 +15,14 @@ dependencies: 
     | 
|
| 
       16 
15 
     | 
    
         
             
                requirements:
         
     | 
| 
       17 
16 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       18 
17 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       19 
     | 
    
         
            -
                    version: '1. 
     | 
| 
      
 18 
     | 
    
         
            +
                    version: '1.62'
         
     | 
| 
       20 
19 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       21 
20 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       22 
21 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       23 
22 
     | 
    
         
             
                requirements:
         
     | 
| 
       24 
23 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       25 
24 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       26 
     | 
    
         
            -
                    version: '1. 
     | 
| 
      
 25 
     | 
    
         
            +
                    version: '1.62'
         
     | 
| 
       27 
26 
     | 
    
         
             
            description: Gem containing the rubocop.yml config that corresponds to the implementation
         
     | 
| 
       28 
27 
     | 
    
         
             
              of the Shopify's style guide for Ruby.
         
     | 
| 
       29 
28 
     | 
    
         
             
            email: gems@shopify.com
         
     | 
| 
         @@ -41,9 +40,8 @@ homepage: https://shopify.github.io/ruby-style-guide/ 
     | 
|
| 
       41 
40 
     | 
    
         
             
            licenses:
         
     | 
| 
       42 
41 
     | 
    
         
             
            - MIT
         
     | 
| 
       43 
42 
     | 
    
         
             
            metadata:
         
     | 
| 
       44 
     | 
    
         
            -
              source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2. 
     | 
| 
      
 43 
     | 
    
         
            +
              source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.16.0
         
     | 
| 
       45 
44 
     | 
    
         
             
              allowed_push_host: https://rubygems.org
         
     | 
| 
       46 
     | 
    
         
            -
            post_install_message: 
         
     | 
| 
       47 
45 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       48 
46 
     | 
    
         
             
            require_paths:
         
     | 
| 
       49 
47 
     | 
    
         
             
            - lib
         
     | 
| 
         @@ -51,15 +49,14 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       51 
49 
     | 
    
         
             
              requirements:
         
     | 
| 
       52 
50 
     | 
    
         
             
              - - ">="
         
     | 
| 
       53 
51 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       54 
     | 
    
         
            -
                  version:  
     | 
| 
      
 52 
     | 
    
         
            +
                  version: 3.1.0
         
     | 
| 
       55 
53 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       56 
54 
     | 
    
         
             
              requirements:
         
     | 
| 
       57 
55 
     | 
    
         
             
              - - ">="
         
     | 
| 
       58 
56 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       59 
57 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       60 
58 
     | 
    
         
             
            requirements: []
         
     | 
| 
       61 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
       62 
     | 
    
         
            -
            signing_key: 
         
     | 
| 
      
 59 
     | 
    
         
            +
            rubygems_version: 3.6.3
         
     | 
| 
       63 
60 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       64 
61 
     | 
    
         
             
            summary: Shopify's style guide for Ruby.
         
     | 
| 
       65 
62 
     | 
    
         
             
            test_files: []
         
     |