-
Notifications
You must be signed in to change notification settings - Fork 31
Unexpected end of JSON input while parsing empty string #865
Copy link
Copy link
Open
Description
Hi
I'm getting the same error msg independently of what I put in my config file.
error:
2025-03-09 17:11:03[ERROR] Formatter 'prettierd' error: JSONError: JSON Error in /Users/rodhash/.prettierrc.json:
Unexpected end of JSON input while parsing empty stringI tried to mess with my .prettierrc.json but apparently it doesn't matter, whatever I add in there I always get the same error msg.
If I try this:
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"trailingComma": "none",
"bracketSpacing": true,
"arrowParens": "avoid"
}Or this:
{
"tabWidth": 2
}Now if I use prettier I don't get any error. Those are happening only with prettierd.
Any idea why I'm having trouble reading my .prettierrc.json?
prettierd: 0.26.1
conform: db8a4a9
nvim: v0.11.0-dev-1517
Thanks in advance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels