Skip to content

Commit 82a89e3

Browse files
committed
fix: detect case-sensitive filesystems correctly under yarn PnP
yarn in PnP mode uses a virtual filesystem, and adding the `preferUnplugged: true` flag forces it to write this package to the real filesystem. This is needed so the case-sensitive detection logic in `resolve.js` works properly.
1 parent e156316 commit 82a89e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
],
2222
"author": "Ben Mosher <me@benmosher.com>",
2323
"license": "MIT",
24+
"preferUnplugged": true,
2425
"bugs": {
2526
"url": "https://github.com/import-js/eslint-plugin-import/issues"
2627
},

0 commit comments

Comments
 (0)