zed
zed copied to clipboard
Prettier integration don't follow the default order of precedence for config files (especially package.json)
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
Zed seems to not use prettier configuration defined in package.json file when using monorepos. The Prettier documentation is mentioning the possibility of using "prettier" key in package.json to configure prettier settings.
Example :
- my_project
- api
- package.json
- front
- index.ts (Trying to format this file, expect Zed Prettier integration to use the
package.jsonfile in the same directory) - package.json
- index.ts (Trying to format this file, expect Zed Prettier integration to use the
- api
Zed seems not to use this configuration
Environment
Zed: v0.134.4 (Zed) OS: macOS 13.6.3 Memory: 8 GiB Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
No response