Skip to content

Commit

Permalink
feat: also ban test.only
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfbecker committed Aug 7, 2020
1 parent cbb0dfe commit b53f66f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ module.exports = {
name: ['it', 'only'],
message: "Don't forget to remove .only before committing",
},
{
name: ['test', 'only'],
message: "Don't forget to remove .only before committing",
},
{
name: ['jest', 'fn'],
message: 'Use sinon.spy(() => undefined) instead',
Expand Down

0 comments on commit b53f66f

Please sign in to comment.