Skip to content

Commit

Permalink
remove 'no-await-in-loop', add { allowEmptyReject: true } to 'prefer-…
Browse files Browse the repository at this point in the history
…promise-reject-errors'
  • Loading branch information
ryota-murakami committed Aug 25, 2023
1 parent 199c68e commit 06b696c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ module.exports = {
},
],
'no-alert': 'error',
'no-await-in-loop': 'error',
'no-console': 'error',
'no-constant-binary-expression': 'error',
'no-constant-condition': 'error',
Expand All @@ -81,7 +80,7 @@ module.exports = {
'no-return-await': 'error',
'no-unused-private-class-members': 'error',
'prefer-const': 'warn',
'prefer-promise-reject-errors': 'error',
'prefer-promise-reject-errors': ['error', { allowEmptyReject: true }],
'prettier/prettier': [
'warn',
{},
Expand Down

0 comments on commit 06b696c

Please sign in to comment.