Skip to content

Use global prettier package as a fallback when Prettier is not installed inside a project. #522

@ryanpcmcquen

Description

@ryanpcmcquen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlockedLocked due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions