Skip to content

Commit

Permalink
adds infobox for rootdir affecting preset resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitropoulos committed May 9, 2022
1 parent 7831acf commit 49a5861
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'`
Expand Down
6 changes: 6 additions & 0 deletions website/versioned_docs/version-28.0/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'`
Expand Down
6 changes: 6 additions & 0 deletions website/versioned_docs/version-28.1/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'`
Expand Down

0 comments on commit 49a5861

Please sign in to comment.