Updated options for js-beautify

This commit is contained in:
filipesilva 2015-03-07 21:21:28 +00:00
parent 5067eee2ef
commit fdd1668c20
4 changed files with 20 additions and 4 deletions

View File

@ -1,3 +1,6 @@
# v0.21.4 (2015-03-07)
- Update options for js-beautify (HTML wrap-attributes, wrap-attributes-indent-size)
# v0.21.3 (2015-02-08)
- [Fixes #181 and fixes #180. Clean up LESS/SCSS Unit Tests and update Prettydiff](https://github.com/Glavin001/atom-beautify/commit/a50c5a3c4c884a2eddec7e36c1723eeef97c3758)
- [Updates to Atoms new API](https://github.com/Glavin001/atom-beautify/commit/d24a454ef7b011c7d4d63b7ba1757b8d0a0ced28)

View File

@ -9,8 +9,7 @@
</li>
{{/first}}
{{#link}}
<li><a href="{{url}}">{{name}}</a>
</li>
<li><a href="{{url}}">{{name}}</a></li>
{{/link}}
{{/items}}

View File

@ -196,6 +196,16 @@ module.exports =
type: 'integer'
default: 250
description: "Maximum characters per line (0 disables)"
html_wrap_attributes:
type: 'string'
default: "auto"
enum: ["auto", "force"]
description: "Wrap attributes to new lines [auto|force]"
html_wrap_attributes_indent_size:
type: 'integer'
default: defaultIndentSize
minimum: 0
description: "Indent wrapped attributes to after N characters"
html_preserve_newlines:
type: 'boolean'
default: true

View File

@ -1,7 +1,7 @@
{
"name": "atom-beautify",
"main": "./lib/beautify",
"version": "0.21.3",
"version": "0.21.4",
"private": true,
"description": "Beautify HTML, CSS, JavaScript, PHP, Python, Ruby, Java, C, C++, C#, Objective-C, CoffeeScript, TypeScript, and SQL in Atom",
"repository": {
@ -38,6 +38,10 @@
{
"name": "Vadim K.",
"url": "https://github.com/vadirn"
},
{
"name": "Filipe Silva",
"url": "https://github.com/filipesilva"
}
],
"engines": {
@ -51,7 +55,7 @@
"editorconfig": "^0.11.4",
"emissary": "^1.0.0",
"extend": "^1.2.1",
"js-beautify": "^1.5.4",
"js-beautify": "^1.5.5",
"lodash": "2.4.1",
"loophole": "^1.0.0",
"node-dir": "^0.1.6",