Skip to content

Expose config.resolveConfigFile in API? #3451

@darahak

Description

@darahak

We have this issue with prettier-atom where it keeps using the cached config, even when the user modified their .prettierrc file.

We need the config file path if we want to watch it and clear the cache if it gets updated.

I wanted to check with you, if you see any downsides/caveats in exposing this method or if you think there could be a better solution.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:apiIssues with Prettier's Application Programming Interfacelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions