Skip to content

dprint config fails to initialize on startup #105

@johnnycheng0210

Description

@johnnycheng0210

Version: 0.49.0

In our (Canva's) monorepo dprint sometimes fails to initialize in VS Code/Cursor. It fails to resolve our dprint.json config file and prints the following logs to the Output panel:

[INFO] Configuration file not found.
[INFO] Extension active!

It appears to be this issue.

Looking into a bit deeper it seems that prettier doesn't suffer from this issue, it appears that prettier is doing this to resolve the configuration file.

This is affecting numerous Canva engineers and it would be great if this bug is addressed.

Thanks are all your work on dprint! (means a lot to us at Canva)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions