Skip to content

Commit

Permalink
prettier 1.19.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Nov 9, 2019
1 parent 3fb111a commit 057e15d
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/language-html/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = {
]
},
vueIndentScriptAndStyle: {
since: "1.19.0",
since: "1.19.0-beta.1",
category: CATEGORY_HTML,
type: "boolean",
default: false,
Expand Down
5 changes: 5 additions & 0 deletions tests_integration/__tests__/__snapshots__/schema.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down
23 changes: 22 additions & 1 deletion tests_integration/__tests__/__snapshots__/support-info.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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`] = `""`;
Expand Down Expand Up @@ -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\\"
}
]
}
Expand Down

0 comments on commit 057e15d

Please sign in to comment.