From fb50077fec497fbf01d754fc75aa22cff43ef066 Mon Sep 17 00:00:00 2001 From: Gabriel Rohden Date: Thu, 18 Apr 2024 17:51:29 -0300 Subject: [PATCH] docs: include notes about globals in migration-guide (#18356) * chore: include notes about globals in migration-guide * chore: remove specific error message from code Co-authored-by: Nicholas C. Zakas --------- Co-authored-by: Nicholas C. Zakas --- docs/src/use/configure/migration-guide.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/src/use/configure/migration-guide.md b/docs/src/use/configure/migration-guide.md index c99080f4da2..f6f6669a631 100644 --- a/docs/src/use/configure/migration-guide.md +++ b/docs/src/use/configure/migration-guide.md @@ -330,6 +330,10 @@ export default [ ]; ``` +::: tip +You'll need to install the `globals` package from npm for this example to work. It is not automatically installed by ESLint. +::: + ### `eslint-env` Configuration Comments In the eslintrc config system it was possible to use `eslint-env` configuration comments to define globals for a file.