Skip to content

Commit

Permalink
Add heading
Browse files Browse the repository at this point in the history
  • Loading branch information
fasttime committed Jul 20, 2023
1 parent 433dc81 commit 3b55bb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/use/configure/migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ export default [
];
```

### `eslint-env` Configuration Comments

In the eslintrc config system it was possible to use `eslint-env` configuration comments to define globals for a file.
These comments are no longer recognized when linting with flat config: in a future version of ESLint, `eslint-env` comments will be reported as errors.
For this reason, when migrating from eslintrc to flat config, `eslint-env` configuration comments should be removed from all files.
Expand Down

0 comments on commit 3b55bb8

Please sign in to comment.