@nemigo/configs 0.0.2 → 0.0.3
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/prettier.d.ts +2 -1
- package/dist/prettier.js +4 -0
- package/package.json +1 -1
package/dist/prettier.d.ts
CHANGED
package/dist/prettier.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { format } from "prettier";
|
|
1
2
|
import * as svelte from "prettier-plugin-svelte";
|
|
2
3
|
import * as css from "prettier-plugin-css-order";
|
|
3
4
|
import * as arrays from "prettier-plugin-multiline-arrays";
|
|
@@ -24,3 +25,6 @@ export const defineConfig = () => ({
|
|
|
24
25
|
},
|
|
25
26
|
],
|
|
26
27
|
});
|
|
28
|
+
//...
|
|
29
|
+
const prettier = defineConfig();
|
|
30
|
+
export const pretty = (content, parser) => format(content, { ...prettier, parser });
|