aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2024-10-19 13:39:30 +0200
committerGitHub <[email protected]>2024-10-19 13:39:30 +0200
commit7141608aa0a570be88dc7f0ffb6dbd9a2c72c2ab (patch)
tree2a17c3eacfcd9fbbaa32db44c53589bde1426944 /src/modules
parent90147150837e2a7222b4876b86223fc1e67100a0 (diff)
downloadfaker-7141608aa0a570be88dc7f0ffb6dbd9a2c72c2ab.tar.xz
faker-7141608aa0a570be88dc7f0ffb6dbd9a2c72c2ab.zip
infra(eslint): limit usage of globals in src (#3191)
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/helpers/eval.ts1
1 files changed, 1 insertions, 0 deletions
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.