Skip to content

Commit f7d26b5

Browse files
committed
use correct prettier settings
1 parent 55c9ada commit f7d26b5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/@headlessui-vue/vite.config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,14 @@ Prism.plugins.customClass.map({
5555

5656
const sourcePipeline = pipe(
5757
path => fs.readFileSync(path, 'utf8'),
58-
contents => prettier.format(contents, { parser: 'vue', printWidth: 100 }),
58+
contents =>
59+
prettier.format(contents, {
60+
parser: 'vue',
61+
printWidth: 100,
62+
semi: false,
63+
singleQuote: true,
64+
trailingComma: 'es5',
65+
}),
5966
contents => Prism.highlight(contents, Prism.languages.markup),
6067
contents =>
6168
[

0 commit comments

Comments
 (0)