From 53937fd58023ef800bd8ca1cd2b6d2d7bc891834 Mon Sep 17 00:00:00 2001 From: Markus Hatvan Date: Fri, 12 Nov 2021 03:59:35 +0100 Subject: chore: update eslint deps to latest (#2213) - update eslint deps to latest - disable new react/function-component-definition rule - fix/disable newly reported issues --- src/helpers/async-helpers.ts | 1 + src/helpers/recipe-helpers.ts | 1 + 2 files changed, 2 insertions(+) (limited to 'src/helpers') 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 @@ export function sleep(ms: number = 0) { + // eslint-disable-next-line no-promise-executor-return return new Promise(r => setTimeout(r, ms)); } 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 @@ +/* eslint-disable import/no-import-module-exports */ /* eslint-disable global-require */ import { parse } from 'path'; import { userDataRecipesPath } from '../environment-remote'; -- cgit v1.2.3-54-g00ecf