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