Skip to content

Commit c603020

Browse files
committed
feat: turn off avoid-new in recommended configuration
See #111
1 parent 1e95bab commit c603020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = {
3535
'promise/no-nesting': 'warn',
3636
'promise/no-promise-in-callback': 'warn',
3737
'promise/no-callback-in-promise': 'warn',
38-
'promise/avoid-new': 'warn',
38+
'promise/avoid-new': 'off',
3939
'promise/no-new-statics': 'error',
4040
'promise/no-return-in-finally': 'warn',
4141
'promise/valid-params': 'warn'

0 commit comments

Comments
 (0)