diff options
author | 2021-11-12 03:59:35 +0100 | |
---|---|---|
committer | 2021-11-12 08:29:35 +0530 | |
commit | 53937fd58023ef800bd8ca1cd2b6d2d7bc891834 (patch) | |
tree | ea70778761addfaba1732dcb515dabd9f37f09ea /src/helpers/async-helpers.ts | |
parent | Use forked version of 'node-mac-permissions' till the PR gets merged (#2216) (diff) | |
download | ferdium-app-53937fd58023ef800bd8ca1cd2b6d2d7bc891834.tar.gz ferdium-app-53937fd58023ef800bd8ca1cd2b6d2d7bc891834.tar.zst ferdium-app-53937fd58023ef800bd8ca1cd2b6d2d7bc891834.zip |
chore: update eslint deps to latest (#2213)
- update eslint deps to latest
- disable new react/function-component-definition rule
- fix/disable newly reported issues
Diffstat (limited to 'src/helpers/async-helpers.ts')
-rw-r--r-- | src/helpers/async-helpers.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/async-helpers.ts b/src/helpers/async-helpers.ts index 6b1f24b5a..56051b065 100644 --- a/src/helpers/async-helpers.ts +++ b/src/helpers/async-helpers.ts | |||
@@ -1,3 +1,4 @@ | |||
1 | export function sleep(ms: number = 0) { | 1 | export function sleep(ms: number = 0) { |
2 | // eslint-disable-next-line no-promise-executor-return | ||
2 | return new Promise(r => setTimeout(r, ms)); | 3 | return new Promise(r => setTimeout(r, ms)); |
3 | } | 4 | } |