@@ -22,7 +22,7 @@ for additional technical background.
22
22
23
23
## Why it's a patch
24
24
25
- ESLint's long awaited module resolver overhaul still has not materialized as of ESLint 7 . As a stopgap,
25
+ ESLint's long awaited module resolver overhaul still has not materialized as of ESLint 8 . As a stopgap,
26
26
we created a small ** .eslintrc.js** patch that solves the problem adequately for most real world scenarios.
27
27
This patch was proposed as an ESLint feature with [ PR 12460] ( https://github.com/eslint/eslint/pull/12460 ) , however
28
28
the maintainers were not able to accept it unless it is reworked into a fully correct design. Such a requirement
@@ -52,7 +52,7 @@ Instead, the hypothetical `@your-company/eslint-config` NPM package would declar
52
52
own dependencies.
53
53
54
54
This patch works by modifying the ESLint engine so that its module resolver will load relative to the folder of
55
- the referencing config file, rather than the project folder. The patch is compatible with ESLint 6 and 7 .
55
+ the referencing config file, rather than the project folder. The patch is compatible with ESLint 6, 7, and 8 .
56
56
It also works with any editor extensions that load ESLint as a library.
57
57
58
58
For an even leaner setup, ` @your-company/eslint-config ` can provide the patch as its own dependency. See
@@ -62,8 +62,7 @@ and recommended approach.
62
62
63
63
## Links
64
64
65
- - [ CHANGELOG.md] (
66
- https://github.com/microsoft/rushstack/blob/main/stack/eslint-patch/CHANGELOG.md ) - Find
65
+ - [ CHANGELOG.md] ( https://github.com/microsoft/rushstack/blob/main/eslint/eslint-patch/CHANGELOG.md ) - Find
67
66
out what's new in the latest version
68
67
69
68
` @rushstack/eslint-patch ` is part of the [ Rush Stack] ( https://rushstack.io/ ) family of projects.
0 commit comments