Skip to content

Commit 32bf645

Browse files
kostyazgaraljharb
authored andcommittedAug 7, 2021
[Docs] add description how to use plugin with yarn berry
1 parent 794e869 commit 32bf645

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
 

‎CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
2424
- [Tests] [`order`]: add tests for `pathGroupsExcludedImportTypes: ['type']` ([#2158], thanks [@atav32])
2525
- [Docs] [`order`]: improve the documentation for the `pathGroupsExcludedImportTypes` option ([#2156], thanks [@liby])
2626
- [Tests] [`no-cycle`]: Restructure test files ([#1517], thanks [@soryy708])
27+
- [Docs] add description how to use plugin with yarn berry ([#2179], thanks [@KostyaZgara])
2728

2829
## [2.23.4] - 2021-05-29
2930

@@ -819,6 +820,7 @@ for info on changes for earlier releases.
819820

820821
[`memo-parser`]: ./memo-parser/README.md
821822

823+
[#2179]: https://github.com/import-js/eslint-plugin-import/pull/2179
822824
[#2160]: https://github.com/import-js/eslint-plugin-import/pull/2160
823825
[#2158]: https://github.com/import-js/eslint-plugin-import/pull/2158
824826
[#2156]: https://github.com/import-js/eslint-plugin-import/pull/2156
@@ -1357,6 +1359,7 @@ for info on changes for earlier releases.
13571359
[@kiwka]: https://github.com/kiwka
13581360
[@klimashkin]: https://github.com/klimashkin
13591361
[@kmui2]: https://github.com/kmui2
1362+
[@KostyaZgara]: https://github.com/KostyaZgara
13601363
[@knpwrs]: https://github.com/knpwrs
13611364
[@laysent]: https://github.com/laysent
13621365
[@le0nik]: https://github.com/le0nik

‎README.md

+2
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ An array of folders. Resolved modules only from those folders will be considered
348348

349349
This option is also useful in a monorepo setup: list here all directories that contain monorepo's packages and they will be treated as external ones no matter which resolver is used.
350350

351+
If you are using `yarn` PnP as your package manager, add the `.yarn` folder and all your installed dependencies will be considered as `external`, instead of `internal`.
352+
351353
Each item in this array is either a folder's name, its subpath, or its absolute prefix path:
352354

353355
- `jspm_modules` will match any file or folder named `jspm_modules` or which has a direct or non-direct parent named `jspm_modules`, e.g. `/home/me/project/jspm_modules` or `/home/me/project/jspm_modules/some-pkg/index.js`.

0 commit comments

Comments
 (0)
Please sign in to comment.