Skip to content

Commit

Permalink
Allow timers/promises
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 7, 2023
1 parent 99bacc0 commit bb91559
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1127,6 +1127,10 @@ overrides:
allow:
- process
- Buffer
# From 'node:timers/promises'
- setTimeout
- setInterval
- setImmediate
'@typescript-eslint/no-magic-numbers':
- 2
- ignore: [-2, -1, 0, 1, 2, 3, 10, 0n, 1n]
Expand Down

0 comments on commit bb91559

Please sign in to comment.