Skip to content

Commit 113f51e

Browse files
authoredApr 10, 2024··
docs: Mention package.json config support dropped (#18305)
fixes #18296
1 parent 1fa6622 commit 113f51e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

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

+6
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,12 @@ The `--resolve-plugins-relative-to` flag was used to indicate which directory pl
646646
647647
With flat config, shareable configs can specify their dependencies directly, so this flag is no longer needed.
648648
649+
### `package.json` Configuration No Longer Supported
650+
651+
With eslintrc, it was possible to use a `package.json` file to configure ESLint using the `eslintConfig` key.
652+
653+
With flat config, it's no longer possible to use a `package.json` file to configure ESLint. You'll need to move your configuration into a separate file.
654+
649655
### Additional Changes
650656
651657
The following changes have been made from the eslintrc to the flat config file format:

0 commit comments

Comments
 (0)
Please sign in to comment.