diff --git a/dprint_plugin/deployment/schema.json b/dprint_plugin/deployment/schema.json index 1c52959..55437f1 100644 --- a/dprint_plugin/deployment/schema.json +++ b/dprint_plugin/deployment/schema.json @@ -6,178 +6,339 @@ "type": "object", "properties": { "printWidth": { + "description": "The line width limitation that markup_fmt should *(but not must)* avoid exceeding. markup_fmt will try its best to keep line width less than this value, but it may exceed for some cases, for example, a very very long single word.", "type": "integer", "default": 80, "minimum": 0 }, "useTabs": { + "description": "Specify use space or tab for indentation.", "type": "boolean", "default": false }, "indentWidth": { + "description": "Size of indentation. When enabled `useTabs`, this option may be disregarded, since only one tab will be inserted when indented once.", "type": "integer", "default": 2, "minimum": 0 }, "lineBreak": { + "description": "Specify whether use `\\n` (LF) or `\\r\\n` (CRLF) for line break.", "type": "string", "enum": ["lf", "crlf"], "default": "lf" }, "quotes": { + "description": "Control the quotes of attribute value.", "type": "string", - "enum": ["double", "single"], + "oneOf": [ + { + "const": "double", + "description": "Use double quotes as possible. However if there're double quotes in strings, quotes will be kept as-is." + }, + { + "const": "single", + "description": "Use single quotes as possible. However if there're single quotes in strings, quotes will be kept as-is." + } + ], "default": "double" }, "formatComments": { + "description": "Control whether whitespace should be inserted at the beginning and end of comments and comments should be indented properly or not.", "type": "boolean", "default": false }, "scriptIndent": { + "description": "Control whether the code block in the `