Closed agarwalvaibhav0211 closed 3 months ago
Thank you for your issue!
I don't work with Yarn PnP and have not tested using the plugin with it.
I will look into this problem and think how to solve it.
I am currently unable to reproduce the problem. I have tried using Perfectionist with Yarn 4.
Could you please show your eslint config?
Or better yet, create a repository to reproduce the problem.
I tried reproducing the problem. And it seems to be okay. Please write back if the problem is still relevant.
Describe the bug
Facing the following error in ESLint logs
Code example
ESLint version
v9
ESLint Plugin Perfectionist version
v3
Additional comments
The same error is being displayed with node-modules installation strategy with yarn or on console with eslint cmd utility. The error is only coming when pnp is used in VSCode ESLint extension.
A potential reason may be that the @typescript-eslint/utils package being used is v7 which does not yet support eslint v9.
Validations