aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-11-12 03:59:35 +0100
committerLibravatar GitHub <noreply@github.com>2021-11-12 08:29:35 +0530
commit53937fd58023ef800bd8ca1cd2b6d2d7bc891834 (patch)
treeea70778761addfaba1732dcb515dabd9f37f09ea /src/helpers
parentUse forked version of 'node-mac-permissions' till the PR gets merged (#2216) (diff)
downloadferdium-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')
-rw-r--r--src/helpers/async-helpers.ts1
-rw-r--r--src/helpers/recipe-helpers.ts1
2 files changed, 2 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 @@
1export function sleep(ms: number = 0) { 1export 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}
diff --git a/src/helpers/recipe-helpers.ts b/src/helpers/recipe-helpers.ts
index d482dffab..93c107cc5 100644
--- a/src/helpers/recipe-helpers.ts
+++ b/src/helpers/recipe-helpers.ts
@@ -1,3 +1,4 @@
1/* eslint-disable import/no-import-module-exports */
1/* eslint-disable global-require */ 2/* eslint-disable global-require */
2import { parse } from 'path'; 3import { parse } from 'path';
3import { userDataRecipesPath } from '../environment-remote'; 4import { userDataRecipesPath } from '../environment-remote';