I'm a little late to the convo but just came across this and it popped into my head... what is the value of editor.defaultFormatter in your VS Code settings.json by itself, assuming it is defined?
Because according to the docs, whatever formatter is thus defined will override all other directives in the event of a conflict, assuming no language specific constraints.
Editor: Default Formatter
Defines a default formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter.
I may be wrong, but I've always understood that to mean if defined, that configuration will have the last word no matter what.
Well this is a really good thing to be aware of - mine is set to none (and working).
I'll also note that recently I had an issue where when copying my prettierrc and eslintrc.js files from one VS Code window to a new project's window required a restart (Code & Yarn) before it picked up with changes properly.
I'm a little late to the convo but just came across this and it popped into my head... what is the value of
editor.defaultFormatterin your VS Codesettings.jsonby itself, assuming it is defined?Because according to the docs, whatever formatter is thus defined will override all other directives in the event of a conflict, assuming no language specific constraints.
I may be wrong, but I've always understood that to mean if defined, that configuration will have the last word no matter what.
Well this is a really good thing to be aware of - mine is set to
none(and working).I'll also note that recently I had an issue where when copying my prettierrc and eslintrc.js files from one VS Code window to a new project's window required a restart (Code & Yarn) before it picked up with changes properly.
Well that's good at least you got it working. I've had similar issues in the past, especially with mono-repos and also trying to integrate Yarn v2/v3.