prettier-vscode
prettier-vscode copied to clipboard
Unable to resolve string JSON config which resolves a pure ESM prettier config
trafficstars
Summary
// .prettierrc
"@1stg/prettier-config"
Github Repository to Reproduce Issue
https://github.com/un-ts/preversion
Steps To Reproduce:
yarn install- Change something in
package.jsonand execformatcommand
Expected result
No error
Actual result
Error
Additional information
VS Code Version:
版本: 1.100.1 提交: 91fa95bccb027ece6a968589bb1d662fa9c8e170 日期: 2025-05-09T15:43:50.040Z Electron: 34.5.1 ElectronBuildId: 11369351 Chromium: 132.0.6834.210 Node.js: 20.19.0 V8: 13.2.152.41-electron.0 OS: Darwin arm64 24.4.0
Prettier Extension Version:
11.0.0
OS and version:
macOS 15.4.1 (24E263)
Prettier Log Output
["INFO" - 08:30:41] Formatting file:///Users/JounQin/Workspaces/GitHub/configs/package.json
["ERROR" - 08:30:41] Invalid prettier configuration file detected.
{}