Skip to content

Commit fb50077

Browse files
Grohdennzakas
andauthored
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 <nicholas@humanwhocodes.com> --------- Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
1 parent 4d11e56 commit fb50077

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/src/use/configure/migration-guide.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,10 @@ export default [
330330
];
331331
```
332332

333+
::: tip
334+
You'll need to install the `globals` package from npm for this example to work. It is not automatically installed by ESLint.
335+
:::
336+
333337
### `eslint-env` Configuration Comments
334338

335339
In the eslintrc config system it was possible to use `eslint-env` configuration comments to define globals for a file.

0 commit comments

Comments
 (0)