Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
TotooriaHyperion opened this issue Jul 11, 2024 · 2 comments
Closed
Labels

Comments

@TotooriaHyperion
Copy link

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):

  • VS Code Prettier ESLint extension [6.0.0]
  • Visual Studio Code: [1.90.2]
  • Node: [18.20.3]
  • Package Manager [yarn 1.22.22]
  • prettier: [3.2.5]
  • eslint: [8.57.0]

System Specifications (please complete the following information):

  • OS: [macOS Sonoma 14.5]
  • Processor: [M3 Pro]
  • RAM Size: [36GB]

Additional context
Add any other context about the problem here.

Copy link

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

@github-actions github-actions bot added the stale label Aug 10, 2024
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant