@so1ve/prettier-config 3.4.0 → 3.5.1

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.d.ts CHANGED
@@ -5,6 +5,7 @@ declare const _default: {
5
5
  quoteProps: "preserve";
6
6
  trailingComma: "all";
7
7
  htmlWhitespaceSensitivity: "ignore";
8
+ experimentalOperatorPosition: "start";
8
9
  overrides: ({
9
10
  files: string[];
10
11
  options: {
@@ -24,9 +25,6 @@ declare const _default: {
24
25
  };
25
26
  })[];
26
27
  plugins: string[];
27
- jsdocPreferCodeFences: boolean;
28
- jsdocCommentLineStrategy: string;
29
- tsdoc: boolean;
30
28
  };
31
29
  //#endregion
32
30
  export { _default as default };
package/dist/index.js CHANGED
@@ -2,17 +2,14 @@ import { createRequire } from "node:module";
2
2
 
3
3
  //#region src/index.ts
4
4
  const require = createRequire(import.meta.url);
5
- const plugins = [...[
6
- "astro",
7
- "curly-and-jsdoc",
8
- "pkgsort"
9
- ].map((p) => require.resolve(`prettier-plugin-${p}`)), require.resolve("@so1ve/prettier-plugin-toml")];
5
+ const plugins = [require.resolve("@so1ve/prettier-plugin-toml"), ...["astro", "pkgsort"].map((p) => require.resolve(`prettier-plugin-${p}`))];
10
6
  var src_default = {
11
7
  useTabs: true,
12
8
  endOfLine: "lf",
13
9
  quoteProps: "preserve",
14
10
  trailingComma: "all",
15
11
  htmlWhitespaceSensitivity: "ignore",
12
+ experimentalOperatorPosition: "start",
16
13
  overrides: [
17
14
  {
18
15
  files: "*.html",
@@ -36,10 +33,7 @@ var src_default = {
36
33
  options: { requirePragma: true }
37
34
  }))
38
35
  ],
39
- plugins,
40
- jsdocPreferCodeFences: true,
41
- jsdocCommentLineStrategy: "multiline",
42
- tsdoc: true
36
+ plugins
43
37
  };
44
38
 
45
39
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@so1ve/prettier-config",
3
- "version": "3.4.0",
3
+ "version": "3.5.1",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
5
5
  "type": "module",
6
6
  "description": "Ray's prettier config.",
@@ -28,11 +28,10 @@
28
28
  "dependencies": {
29
29
  "prettier-plugin-astro": "^0.14.1",
30
30
  "prettier-plugin-pkgsort": "^0.2.1",
31
- "prettier-plugin-curly-and-jsdoc": "3.4.0",
32
- "@so1ve/prettier-plugin-toml": "3.4.0"
31
+ "@so1ve/prettier-plugin-toml": "3.5.1"
33
32
  },
34
33
  "peerDependencies": {
35
- "prettier": "^3.0.0"
34
+ "prettier": "^3.6.0"
36
35
  },
37
36
  "scripts": {
38
37
  "build": "tsdown",