docs(website): fix link (#3206)
parent
dc9d628874
commit
9652ad75f8
|
@ -40,7 +40,7 @@ The config search will start at the file path and continue to search up the dire
|
||||||
searching from the current directory).
|
searching from the current directory).
|
||||||
Or you can pass directly the path of the config file as `options.config` if you don't wish to search for it.
|
Or you can pass directly the path of the config file as `options.config` if you don't wish to search for it.
|
||||||
A promise is returned which will resolve to:
|
A promise is returned which will resolve to:
|
||||||
* An options object, providing a [config file](./configuration-file.html) was found.
|
* An options object, providing a [config file](configuration.md) was found.
|
||||||
* `null`, if no file was found.
|
* `null`, if no file was found.
|
||||||
|
|
||||||
The promise will be rejected if there was an error parsing the configuration file.
|
The promise will be rejected if there was an error parsing the configuration file.
|
||||||
|
|
|
@ -35,7 +35,7 @@ Note that `--write` cannot be used with `--debug-check`.
|
||||||
## `--find-config-path` and `--config`
|
## `--find-config-path` and `--config`
|
||||||
|
|
||||||
If you are repeatedly formatting individual files with `prettier`, you will incur a small performance cost
|
If you are repeatedly formatting individual files with `prettier`, you will incur a small performance cost
|
||||||
when prettier attempts to look up a [configuration file](./configuration.html). In order to skip this, you may
|
when prettier attempts to look up a [configuration file](configuration.md). In order to skip this, you may
|
||||||
ask prettier to find the config file once, and re-use it later on.
|
ask prettier to find the config file once, and re-use it later on.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in New Issue