@sister.software/oxfmt-config 12.1.3 → 13.0.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/out/index.d.ts +2 -3
- package/out/index.d.ts.map +1 -1
- package/out/index.js +5 -9
- package/out/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +5 -9
package/out/index.d.ts
CHANGED
|
@@ -11,9 +11,8 @@ export type OxfmtConfig = Record<string, unknown>;
|
|
|
11
11
|
/**
|
|
12
12
|
* Sister Software's oxfmt configuration.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* Consumers spread it into their own `oxfmt.config.ts`:
|
|
14
|
+
* Covers JSDoc formatting, package.json key ordering, and import organization. Consumers spread it into their own
|
|
15
|
+
* `oxfmt.config.ts`:
|
|
17
16
|
*
|
|
18
17
|
* ```ts
|
|
19
18
|
* import { sisterSoftwareOxfmtConfig } from "@sister.software/oxfmt-config"
|
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;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAEjD
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAEjD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB,EAAE,WAiBvC,CAAA;eAEc,yBAAyB"}
|
package/out/index.js
CHANGED
|
@@ -7,9 +7,8 @@
|
|
|
7
7
|
/**
|
|
8
8
|
* Sister Software's oxfmt configuration.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* Consumers spread it into their own `oxfmt.config.ts`:
|
|
10
|
+
* Covers JSDoc formatting, package.json key ordering, and import organization. Consumers spread it into their own
|
|
11
|
+
* `oxfmt.config.ts`:
|
|
13
12
|
*
|
|
14
13
|
* ```ts
|
|
15
14
|
* import { sisterSoftwareOxfmtConfig } from "@sister.software/oxfmt-config"
|
|
@@ -23,18 +22,15 @@ export const sisterSoftwareOxfmtConfig = {
|
|
|
23
22
|
semi: false,
|
|
24
23
|
trailingComma: "es5",
|
|
25
24
|
bracketSpacing: true,
|
|
26
|
-
//
|
|
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.
|
|
25
|
+
// Preserve the author's single- vs multi-line JSDoc choice rather than collapsing short comments.
|
|
29
26
|
jsdoc: {
|
|
30
27
|
commentLineStrategy: "keep",
|
|
31
28
|
// Blank line between the last @param and @returns.
|
|
32
29
|
separateReturnsFromParam: true,
|
|
33
30
|
},
|
|
34
|
-
// package.json key ordering
|
|
31
|
+
// package.json key ordering.
|
|
35
32
|
sortPackageJson: true,
|
|
36
|
-
//
|
|
37
|
-
// `true` to customize groups — see oxfmt's SortImportsUserConfig.
|
|
33
|
+
// Pass an object instead of `true` to customize import groups; see oxfmt's SortImportsUserConfig.
|
|
38
34
|
sortImports: true,
|
|
39
35
|
};
|
|
40
36
|
export default sisterSoftwareOxfmtConfig;
|
package/out/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH;;;;;;;;;;GAUG;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,kGAAkG;IAClG,KAAK,EAAE;QACN,mBAAmB,EAAE,MAAM;QAC3B,mDAAmD;QACnD,wBAAwB,EAAE,IAAI;KAC9B;IACD,6BAA6B;IAC7B,eAAe,EAAE,IAAI;IACrB,kGAAkG;IAClG,WAAW,EAAE,IAAI;CACjB,CAAA;AAED,eAAe,yBAAyB,CAAA"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -13,9 +13,8 @@ export type OxfmtConfig = Record<string, unknown>
|
|
|
13
13
|
/**
|
|
14
14
|
* Sister Software's oxfmt configuration.
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* Consumers spread it into their own `oxfmt.config.ts`:
|
|
16
|
+
* Covers JSDoc formatting, package.json key ordering, and import organization. Consumers spread it into their own
|
|
17
|
+
* `oxfmt.config.ts`:
|
|
19
18
|
*
|
|
20
19
|
* ```ts
|
|
21
20
|
* import { sisterSoftwareOxfmtConfig } from "@sister.software/oxfmt-config"
|
|
@@ -29,18 +28,15 @@ export const sisterSoftwareOxfmtConfig: OxfmtConfig = {
|
|
|
29
28
|
semi: false,
|
|
30
29
|
trailingComma: "es5",
|
|
31
30
|
bracketSpacing: true,
|
|
32
|
-
//
|
|
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.
|
|
31
|
+
// Preserve the author's single- vs multi-line JSDoc choice rather than collapsing short comments.
|
|
35
32
|
jsdoc: {
|
|
36
33
|
commentLineStrategy: "keep",
|
|
37
34
|
// Blank line between the last @param and @returns.
|
|
38
35
|
separateReturnsFromParam: true,
|
|
39
36
|
},
|
|
40
|
-
// package.json key ordering
|
|
37
|
+
// package.json key ordering.
|
|
41
38
|
sortPackageJson: true,
|
|
42
|
-
//
|
|
43
|
-
// `true` to customize groups — see oxfmt's SortImportsUserConfig.
|
|
39
|
+
// Pass an object instead of `true` to customize import groups; see oxfmt's SortImportsUserConfig.
|
|
44
40
|
sortImports: true,
|
|
45
41
|
}
|
|
46
42
|
|