resolveConfigFile can be used to find the path of the Prettier configuration file,
that will be used when resolving the config (i.e. when calling resolveConfig).
A promise is returned which will resolve to:
The path of the configuration file.
null, if no file was found.
The promise will be rejected if there was an error parsing the configuration file.
resolveConfigFile
can be used to find the path of the Prettier configuration file, that will be used when resolving the config (i.e. when callingresolveConfig
).A promise is returned which will resolve to:
null
, if no file was found.The promise will be rejected if there was an error parsing the configuration file.