sharable->shareable (#18880)

This commit is contained in:
Andrii Dembitskyi authored and GitHub committed 2026-03-05 00:49:49 +08:00
1 parent a0f0c6fd12
commit af93db5a61
1 file changed
+2 -2
+2 -2
View File
@@ -12,7 +12,7 @@ This page explains how to create, publish and consume a shareable config.
## Creating a Shareable Config
Sharable configs are just [npm packages](https://docs.npmjs.com/about-packages-and-modules#about-packages) that export a single [prettier config file](./configuration.md).
Shareable configs are just [npm packages](https://docs.npmjs.com/about-packages-and-modules#about-packages) that export a single [prettier config file](./configuration.md).
Before we start, make sure you have:
@@ -128,7 +128,7 @@ If you don’t want to use `package.json`, you can use any of the supported exte
"@company/prettier-config"
```
### Extending a Sharable Config
### Extending a Shareable Config
To _extend_ the configuration to overwrite some properties from the shared configuration, import the file in a `prettier.config.mjs` file and export the modifications, e.g: