diff --git a/docs/Configuration.md b/docs/Configuration.md index 2879593e39dc..0b829bfeb1db 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -777,6 +777,12 @@ module.exports = { } ``` +:::info + +Note that if you also have specified [`rootDir`](#rootdir-string) that the resolution of this file will be relative to that root directory. + +::: + ### `prettierPath` \[string] Default: `'prettier'` diff --git a/website/versioned_docs/version-28.0/Configuration.md b/website/versioned_docs/version-28.0/Configuration.md index 7979ee9036d3..f930abb49536 100644 --- a/website/versioned_docs/version-28.0/Configuration.md +++ b/website/versioned_docs/version-28.0/Configuration.md @@ -777,6 +777,12 @@ module.exports = { } ``` +:::info + +Note that if you also have specified [`rootDir`](#rootdir-string) that the resolution of this file will be relative to that root directory. + +::: + ### `prettierPath` \[string] Default: `'prettier'` diff --git a/website/versioned_docs/version-28.1/Configuration.md b/website/versioned_docs/version-28.1/Configuration.md index 2879593e39dc..0b829bfeb1db 100644 --- a/website/versioned_docs/version-28.1/Configuration.md +++ b/website/versioned_docs/version-28.1/Configuration.md @@ -777,6 +777,12 @@ module.exports = { } ``` +:::info + +Note that if you also have specified [`rootDir`](#rootdir-string) that the resolution of this file will be relative to that root directory. + +::: + ### `prettierPath` \[string] Default: `'prettier'`