1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00

Merge pull request #753 from magni-/rubocop_abcsize

Exclude migration file from Metrics/AbcSize check
This commit is contained in:
Jared Beck 2016-04-05 11:39:24 -04:00
commit d803984c89
2 changed files with 6 additions and 2 deletions

View file

@ -11,6 +11,12 @@ AllCops:
Exclude:
- test/dummy/db/schema.rb
# Migrations often contain long up/down methods, and extracting smaller methods
# from these is of questionable value.
Metrics/AbcSize:
Exclude:
- 'test/dummy/db/migrate/*'
Metrics/ClassLength:
Exclude:
- test/**/*

View file

@ -3,8 +3,6 @@
# Offense count: 19
Metrics/AbcSize:
Exclude:
- 'test/dummy/db/migrate/20110208155312_set_up_test_tables.rb'
Max: 46 # Goal: 15
# Offense count: 6