@so1ve/prettier-config 3.23.0 → 3.24.0
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/dist/index.mjs +5 -2
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { createRequire } from "node:module";
|
|
|
2
2
|
|
|
3
3
|
//#region src/index.ts
|
|
4
4
|
const require = createRequire(import.meta.url);
|
|
5
|
-
const plugins = [require.resolve("@so1ve/prettier-plugin-toml"), ...["astro", "
|
|
5
|
+
const plugins = [require.resolve("@so1ve/prettier-plugin-toml"), ...["astro", "jsdoc"].map((p) => require.resolve(`prettier-plugin-${p}`))];
|
|
6
6
|
var src_default = {
|
|
7
7
|
useTabs: true,
|
|
8
8
|
endOfLine: "lf",
|
|
@@ -32,7 +32,10 @@ var src_default = {
|
|
|
32
32
|
options: { requirePragma: true }
|
|
33
33
|
}))
|
|
34
34
|
],
|
|
35
|
-
plugins
|
|
35
|
+
plugins,
|
|
36
|
+
jsdocPreferCodeFences: true,
|
|
37
|
+
jsdocCommentLineStrategy: "multiline",
|
|
38
|
+
tsdoc: true
|
|
36
39
|
};
|
|
37
40
|
|
|
38
41
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@so1ve/prettier-config",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.24.0",
|
|
4
4
|
"author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Ray's prettier config.",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"prettier-plugin-astro": "^0.14.1",
|
|
35
|
-
"prettier-plugin-
|
|
36
|
-
"@so1ve/prettier-plugin-toml": "3.
|
|
35
|
+
"prettier-plugin-jsdoc": "^1.8.0",
|
|
36
|
+
"@so1ve/prettier-plugin-toml": "3.24.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"prettier": "^3.7.4"
|