idahogurl / vs-code-prettier-eslint

A Visual Studio Code Extension to format JavaScript and TypeScript code using the prettier-eslint package.
MIT License
189 stars 47 forks source link

prettier-eslint don't work with multiple nested directories. #226

Closed TotooriaHyperion closed 2 weeks ago

TotooriaHyperion commented 1 month ago

Describe the bug Eslint in vscode works for multiple eslint config for different folders with eslint.workingDirectories.
But it looks like prettier-eslint don't support eslint.workingDirectories

To Reproduce Steps to reproduce the behavior: Create a project with 2 nested folders and each has a .eslintrc.js. Create files in both. Eslint errors show on both. Eslint formatter works on both. But prettier-eslint formatter don't works on the sub folder.

Expected behavior Same behavior as eslint formatter

Example Project

(If possible, please create an example project here on GitHub.com that exhibits the problematic behavior, and link to it here in the bug report. If you are using an older version of GitHub, this will also determine whether the bug has been fixed in a more recent version)

Screenshots If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

System Specifications (please complete the following information):

Additional context Add any other context about the problem here.

github-actions[bot] commented 4 weeks ago

This issue is stale because it has been open for 14 days with no activity.

github-actions[bot] commented 2 weeks ago

This issue was closed because it has been inactive for 14 days since being marked as stale.