@dyb-dev/prettier-config 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,9 +19,9 @@ yarn add @dyb-dev/prettier-config -D
|
|
|
19
19
|
|
|
20
20
|
## 使用方法
|
|
21
21
|
|
|
22
|
-
在你的 Prettier 配置文件中扩展此配置。你可以在 `.prettierrc.
|
|
22
|
+
在你的 Prettier 配置文件中扩展此配置。你可以在 `.prettierrc.mjs` 或 `.prettierrc.cjs` 文件中进行配置:
|
|
23
23
|
|
|
24
|
-
`.prettierrc.
|
|
24
|
+
`.prettierrc.mjs` 文件示例
|
|
25
25
|
|
|
26
26
|
```js
|
|
27
27
|
import prettierConfig from "@dyb-dev/prettier-config"
|