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:
commit
d803984c89
2 changed files with 6 additions and 2 deletions
|
@ -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/**/*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue