Parcourir la source

Ignore migration method lengths

Andrew Swistak il y a 6 ans
Parent
commit
6f00c5cc99
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      .rubocop.yml

+ 2 - 0
.rubocop.yml

@@ -163,6 +163,8 @@ Metrics/BlockLength:
 
 Metrics/MethodLength:
   Max: 20
+  Exclude:
+    - db/migrate/*.rb
 
 Metrics/AbcSize:
   Enabled: false