From 7141608aa0a570be88dc7f0ffb6dbd9a2c72c2ab Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Sat, 19 Oct 2024 13:39:30 +0200 Subject: infra(eslint): limit usage of globals in src (#3191) --- src/modules/helpers/eval.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules') diff --git a/src/modules/helpers/eval.ts b/src/modules/helpers/eval.ts index 5c34fbe6..e04575bc 100644 --- a/src/modules/helpers/eval.ts +++ b/src/modules/helpers/eval.ts @@ -142,6 +142,7 @@ function evalProcessFunction( return entrypoint(...params); } + // eslint-disable-next-line no-undef console.warn( `[@faker-js/faker]: Invoking expressions which are not functions is deprecated since v9.0 and will be removed in v10.0. Please remove the parentheses or replace the expression with an actual function. -- cgit v1.2.3