Skip to content

Commit

Permalink
move createtablewithtimestamps excludes to rubocop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelglass committed Jan 2, 2020
1 parent 17f732d commit cbd8dbb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 8 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@ Naming/MemoizedInstanceVariableName:
# we allow exiting from rake tasks
Rails/Exit:
Exclude:
- lib/tasks/**/*
- lib/tasks/**/*

# Include: db/migrate/*.rb
Rails/CreateTableWithTimestamps:
Exclude:
- 'db/migrate/20151210035820_init_schema.rb'
- 'db/migrate/20160211061631_add_chapter_leaderships_again.rb'
- 'db/migrate/20160312224628_create_organization_leaderships.rb'
9 changes: 0 additions & 9 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,6 @@ RSpec/SubjectStub:
Exclude:
- 'spec/models/event_spec.rb'

# Offense count: 4
# Configuration parameters: Include.
# Include: db/migrate/*.rb
Rails/CreateTableWithTimestamps:
Exclude:
- 'db/migrate/20151210035820_init_schema.rb'
- 'db/migrate/20160211061631_add_chapter_leaderships_again.rb'
- 'db/migrate/20160312224628_create_organization_leaderships.rb'

# Offense count: 4
# Configuration parameters: EnforcedStyle.
# SupportedStyles: strict, flexible
Expand Down

0 comments on commit cbd8dbb

Please sign in to comment.