Browse Source

Ignore migration method lengths

Andrew Swistak 6 years ago
parent
commit
6f00c5cc99
1 changed files with 2 additions and 0 deletions
  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