Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Prettier supports package.json declarations for settings, but Cursor does not.
in VSCode the following works in package.json:
"prettier": "@apsys/prettier-config-pladia",
eg. in VSCode I get:
["INFO" - 10:37:33] Using config file at /apsys-console/package.json
in Cursor I get:
["ERROR" - 10:42:06] Invalid prettier configuration file detected. ["ERROR" - 10:42:06] Cannot find module '/Users/tomgordon/sites/apsys-console/.prettierrc.js' imported from /Users/tomgordon/sites/apsys-console/node_modules/prettier/index.mjs Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/tomgordon/sites/apsys-console/.prettierrc.js' imported from /Users/tomgordon/sites/apsys-console/node_modules/prettier/index.mjs
Steps to Reproduce
By using the prettier field in the root package.json for setting prettier configuration
Expected Behavior
The prettier extension should resolve the package.json config, as it does in VSCode
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.4.5
VSCode Version: 1.99.3
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290
Date: 2025-08-13T02:08:56.371Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0
Additional Information
Both VSCode and Cursor are up to date and on the same prettier extension version
Does this stop you from using Cursor
Yes - Cursor is unusable
