Docs: update docs to follow #6665 (#6670)

master
Sosuke Suzuki 2019-10-17 01:53:01 +09:00 committed by Lipis
parent 4750b1c25a
commit 60d6f139a9
2 changed files with 4 additions and 0 deletions

View File

@ -94,6 +94,8 @@ As you repeatedly call `resolveConfig`, the file system structure will be cached
}
```
The promise will be rejected if the type of `filePath` is not `string`.
Setting `options.ignorePath` (`string`) and `options.withNodeModules` (`boolean`) influence the value of `ignored` (`false` by default).
Providing [plugin](plugins.md) paths in `options.plugins` (`string[]`) helps extract `inferredParser` for files that are not supported by Prettier core.

View File

@ -95,6 +95,8 @@ As you repeatedly call `resolveConfig`, the file system structure will be cached
}
```
The promise will be rejected if the type of `filePath` is not `string`.
Setting `options.ignorePath` (`string`) and `options.withNodeModules` (`boolean`) influence the value of `ignored` (`false` by default).
Providing [plugin](plugins.md) paths in `options.plugins` (`string[]`) helps extract `inferredParser` for files that are not supported by Prettier core.