We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49a19fe commit d44420cCopy full SHA for d44420c
1 file changed
README.md
@@ -474,8 +474,8 @@ prettier.formatWithCursor(" 1", { cursorOffset: 2 });
474
`resolveConfig` can be used to resolve configuration for a given source file.
475
The function requires an input file path as an argument, you might want to pass `process.cwd()` for searching from the current working directory.
476
A promise is returned which will resolve to:
477
-* An options object, providing a [config file](#configuration-file) was found.
478
-* `null`, if no file was found.
+* An options object, providing a [configuration](#configuration-file) was found for the file.
+* `null`, if no configuration was found.
479
480
The promise will be rejected if there was an error parsing the configuration file.
481
0 commit comments