Skip to content

Commit 057e15d

Browse files
committed
prettier 1.19.0-beta.1
1 parent 3fb111a commit 057e15d

File tree

4 files changed

+29
-3
lines changed

4 files changed

+29
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "prettier",
3-
"version": "1.18.2",
3+
"version": "1.19.0-beta.1",
44
"description": "Prettier is an opinionated code formatter",
55
"bin": {
66
"prettier": "./bin/prettier.js"

src/language-html/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = {
2626
]
2727
},
2828
vueIndentScriptAndStyle: {
29-
since: "1.19.0",
29+
since: "1.19.0-beta.1",
3030
category: CATEGORY_HTML,
3131
type: "boolean",
3232
default: false,

tests_integration/__tests__/__snapshots__/schema.js.snap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,11 @@ in order for it to be formatted.",
367367
"description": "Indent with tabs instead of spaces.",
368368
"type": "boolean",
369369
},
370+
"vueIndentScriptAndStyle": Object {
371+
"default": false,
372+
"description": "Indent script and style tags in Vue files.",
373+
"type": "boolean",
374+
},
370375
},
371376
"type": "object",
372377
},

tests_integration/__tests__/__snapshots__/support-info.js.snap

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,19 @@ exports[`API getSupportInfo() with version 1.16.0 -> undefined 1`] = `
645645
\\"default\\": Infinity,
646646
\\"range\\": Object {
647647
\\"end\\": Infinity,
648-
\\"start\\": 0,"
648+
\\"start\\": 0,
649+
@@ -220,7 +233,11 @@
650+
},
651+
\\"useTabs\\": Object {
652+
\\"default\\": false,
653+
\\"type\\": \\"boolean\\",
654+
},
655+
+ \\"vueIndentScriptAndStyle\\": Object {
656+
+ \\"default\\": false,
657+
+ \\"type\\": \\"boolean\\",
658+
},
659+
+ },
660+
}"
649661
`;
650662
651663
exports[`CLI --support-info (stderr) 1`] = `""`;
@@ -1400,6 +1412,15 @@ exports[`CLI --support-info (stdout) 1`] = `
14001412
\\"pluginDefaults\\": {},
14011413
\\"since\\": \\"1.0.0\\",
14021414
\\"type\\": \\"boolean\\"
1415+
},
1416+
{
1417+
\\"category\\": \\"HTML\\",
1418+
\\"default\\": false,
1419+
\\"description\\": \\"Indent script and style tags in Vue files.\\",
1420+
\\"name\\": \\"vueIndentScriptAndStyle\\",
1421+
\\"pluginDefaults\\": {},
1422+
\\"since\\": \\"1.19.0-beta.1\\",
1423+
\\"type\\": \\"boolean\\"
14031424
}
14041425
]
14051426
}

0 commit comments

Comments
 (0)