@sister.software/oxfmt-config 9.0.0 → 9.1.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/out/index.d.ts.map +1 -1
- package/out/index.js +8 -2
- package/out/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +8 -2
package/out/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,yFAAyF;AACzF,MAAM,WAAW,WAAW;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACtB;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,yBAAyB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,yFAAyF;AACzF,MAAM,WAAW,WAAW;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACtB;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,yBAAyB,EAAE,WAoBvC,CAAA;AAED,eAAe,yBAAyB,CAAA"}
|
package/out/index.js
CHANGED
|
@@ -23,8 +23,14 @@ export const sisterSoftwareOxfmtConfig = {
|
|
|
23
23
|
semi: false,
|
|
24
24
|
trailingComma: "es5",
|
|
25
25
|
bracketSpacing: true,
|
|
26
|
-
// JSDoc comment formatting (replaces prettier-plugin-jsdoc).
|
|
27
|
-
|
|
26
|
+
// JSDoc comment formatting (replaces prettier-plugin-jsdoc). `commentLineStrategy: "keep"`
|
|
27
|
+
// preserves the author's single- vs multi-line choice (the prior jsdocCommentLineStrategy: "keep"),
|
|
28
|
+
// rather than oxfmt's default of collapsing short comments to one line.
|
|
29
|
+
jsdoc: {
|
|
30
|
+
commentLineStrategy: "keep",
|
|
31
|
+
// Blank line between the last @param and @returns.
|
|
32
|
+
separateReturnsFromParam: true,
|
|
33
|
+
},
|
|
28
34
|
// package.json key ordering (replaces prettier-plugin-packagejson).
|
|
29
35
|
sortPackageJson: true,
|
|
30
36
|
// Import organization (replaces prettier-plugin-organize-imports). Pass an object instead of
|
package/out/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAgB;IACrD,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE,GAAG;IACf,IAAI,EAAE,KAAK;IACX,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,IAAI;IACpB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAgB;IACrD,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE,GAAG;IACf,IAAI,EAAE,KAAK;IACX,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,IAAI;IACpB,2FAA2F;IAC3F,oGAAoG;IACpG,wEAAwE;IACxE,KAAK,EAAE;QACN,mBAAmB,EAAE,MAAM;QAC3B,mDAAmD;QACnD,wBAAwB,EAAE,IAAI;KAC9B;IACD,oEAAoE;IACpE,eAAe,EAAE,IAAI;IACrB,6FAA6F;IAC7F,kEAAkE;IAClE,WAAW,EAAE,IAAI;CACjB,CAAA;AAED,eAAe,yBAAyB,CAAA"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -29,8 +29,14 @@ export const sisterSoftwareOxfmtConfig: OxfmtConfig = {
|
|
|
29
29
|
semi: false,
|
|
30
30
|
trailingComma: "es5",
|
|
31
31
|
bracketSpacing: true,
|
|
32
|
-
// JSDoc comment formatting (replaces prettier-plugin-jsdoc).
|
|
33
|
-
|
|
32
|
+
// JSDoc comment formatting (replaces prettier-plugin-jsdoc). `commentLineStrategy: "keep"`
|
|
33
|
+
// preserves the author's single- vs multi-line choice (the prior jsdocCommentLineStrategy: "keep"),
|
|
34
|
+
// rather than oxfmt's default of collapsing short comments to one line.
|
|
35
|
+
jsdoc: {
|
|
36
|
+
commentLineStrategy: "keep",
|
|
37
|
+
// Blank line between the last @param and @returns.
|
|
38
|
+
separateReturnsFromParam: true,
|
|
39
|
+
},
|
|
34
40
|
// package.json key ordering (replaces prettier-plugin-packagejson).
|
|
35
41
|
sortPackageJson: true,
|
|
36
42
|
// Import organization (replaces prettier-plugin-organize-imports). Pass an object instead of
|