Skip to content

Commit

Permalink
Stop using CustomCops
Browse files Browse the repository at this point in the history
  • Loading branch information
toshimaru committed Jul 26, 2018
1 parent 0c6ab31 commit c3bc066
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions config/rails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ AllCops:
- 'db/migrate/**/*.rb'
- 'db/*.rb'

# Prefer assert_not_x over refute_x
CustomCops/RefuteNot:
Rails:
Enabled: true

# Prefer assert_not over assert !
Rails/AssertNot:
Include:
- '**/test/**/*'

# Prefer assert_not over assert !
CustomCops/AssertNot:
# Prefer assert_not_x over refute_x
Rails/RefuteMethods:
Include:
- '**/test/**/*'

Expand Down

0 comments on commit c3bc066

Please sign in to comment.