You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the ESLint will not work correctly in a turborepo project after following the documentation which can be confusing because for most projects it works out-of-the-box.
VS Code is popular enough that the below could be added at the end of the ESLint page to make it easier for everyone.
Describe the solution you'd like
VS Code may have problems understanding in which folders ESLint needs to run.
This can be fixed by going to your VS Code Settings (CMD + , on Mac), switching to Workspace and finding eslint.workingDirectories and setting it to: [{ "mode": "auto" }].
Which project is this feature idea for?
Turborepo
Describe the feature you'd like to request
At the moment, the ESLint will not work correctly in a turborepo project after following the documentation which can be confusing because for most projects it works out-of-the-box.
VS Code is popular enough that the below could be added at the end of the ESLint page to make it easier for everyone.
Describe the solution you'd like
VS Code may have problems understanding in which folders ESLint needs to run.
This can be fixed by going to your VS Code Settings (CMD + , on Mac), switching to Workspace and finding eslint.workingDirectories and setting it to: [{ "mode": "auto" }].
This approach has some caveats and there are alternatives, see more here: https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint#settings-options
Describe alternatives you've considered
Another approach would be to send the users to the above mentioned ESLint plugin documentation page so it's always in sync.
The text was updated successfully, but these errors were encountered: