prettier 1.19.0-beta.1

This commit is contained in:
Simon Lydell committed 2019-11-09 01:03:57 +01:00
1 parent 3fb111a48c
commit 057e15d50d
4 files changed
+29 -3

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "prettier",
"version": "1.18.2",
"version": "1.19.0-beta.1",
"description": "Prettier is an opinionated code formatter",
"bin": {
"prettier": "./bin/prettier.js"
+1 -1
View File
@@ -26,7 +26,7 @@ module.exports = {
]
},
vueIndentScriptAndStyle: {
since: "1.19.0",
since: "1.19.0-beta.1",
category: CATEGORY_HTML,
type: "boolean",
default: false,
@@ -367,6 +367,11 @@ in order for it to be formatted.",
"description": "Indent with tabs instead of spaces.",
"type": "boolean",
},
"vueIndentScriptAndStyle": Object {
"default": false,
"description": "Indent script and style tags in Vue files.",
"type": "boolean",
},
},
"type": "object",
},
@@ -645,7 +645,19 @@ exports[`API getSupportInfo() with version 1.16.0 -> undefined 1`] = `
\\"default\\": Infinity,
\\"range\\": Object {
\\"end\\": Infinity,
\\"start\\": 0,"
\\"start\\": 0,
@@ -220,7 +233,11 @@
},
\\"useTabs\\": Object {
\\"default\\": false,
\\"type\\": \\"boolean\\",
},
+ \\"vueIndentScriptAndStyle\\": Object {
+ \\"default\\": false,
+ \\"type\\": \\"boolean\\",
},
+ },
}"
`;
exports[`CLI --support-info (stderr) 1`] = `""`;
@@ -1400,6 +1412,15 @@ exports[`CLI --support-info (stdout) 1`] = `
\\"pluginDefaults\\": {},
\\"since\\": \\"1.0.0\\",
\\"type\\": \\"boolean\\"
},
{
\\"category\\": \\"HTML\\",
\\"default\\": false,
\\"description\\": \\"Indent script and style tags in Vue files.\\",
\\"name\\": \\"vueIndentScriptAndStyle\\",
\\"pluginDefaults\\": {},
\\"since\\": \\"1.19.0-beta.1\\",
\\"type\\": \\"boolean\\"
}
]
}