@so1ve/prettier-config 3.23.0 → 3.25.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.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -2
  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", "pkgsort"].map((p) => require.resolve(`prettier-plugin-${p}`))];
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.23.0",
3
+ "version": "3.25.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-pkgsort": "^0.3.0",
36
- "@so1ve/prettier-plugin-toml": "3.23.0"
35
+ "prettier-plugin-jsdoc": "^1.8.0",
36
+ "@so1ve/prettier-plugin-toml": "3.25.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "prettier": "^3.7.4"