When inside a directory with a package.json that has prettier as a dependency, this extension will not format a document until I run yarn install (or npm install), even if I have prettier installed globally on the machine. Seems like the extension should check for a global fallback rather than just failing.
When inside a directory with a
package.jsonthat hasprettieras a dependency, this extension will not format a document until I runyarn install(ornpm install), even if I haveprettierinstalled globally on the machine. Seems like the extension should check for a global fallback rather than just failing.