Skip to content

Commit

Permalink
docs: include notes about globals in migration-guide (#18356)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
Grohden and nzakas committed Apr 18, 2024
1 parent 4d11e56 commit fb50077
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/src/use/configure/migration-guide.md
Expand Up @@ -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.
Expand Down

0 comments on commit fb50077

Please sign in to comment.