Support for additional wrap attributes options of js-beautify (html): force-aligned and force-expand-multiline.

This commit is contained in:
re6exp 2017-02-19 10:22:11 +03:00
parent cdb52a873d
commit 678fc18146
3 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,5 @@
# dev
- Add support for additional wrap attribute options of js-beautify (html): force-aligned and force-expand-multiline.
- Update to `remark`'s new API and fix [#1196](https://github.com/Glavin001/atom-beautify/issues/1196)
- Add beautifier for the Lua language.
- Add [ocp-indent](https://github.com/OCamlPro/ocp-indent) beautifier for the OCaml language.

View File

@ -114,6 +114,10 @@
{
"name": "Victor Uriarte",
"url": "https://github.com/vmuriart"
},
{
"name": "Anton Brok-Volchansky",
"url": "https://github.com/re6exp"
}
],
"engines": {

View File

@ -56,8 +56,8 @@ module.exports = {
wrap_attributes:
type: 'string'
default: "auto"
enum: ["auto", "force"]
description: "Wrap attributes to new lines [auto|force]"
enum: ["auto", "force", "force-aligned", "force-expand-multiline"]
description: "Wrap attributes to new lines [auto|force|force-aligned|force-expand-multiline]"
wrap_attributes_indent_size:
type: 'integer'
default: defaultIndentSize