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