Issue #1077
This commit is contained in:
parent
4faa7226f7
commit
a942add1e6
|
@ -19,6 +19,7 @@ module.exports = class JSBeautify extends Beautifier
|
||||||
newline_between_rules: true
|
newline_between_rules: true
|
||||||
preserve_newlines: true
|
preserve_newlines: true
|
||||||
wrap_line_length: true
|
wrap_line_length: true
|
||||||
|
end_with_newline: true
|
||||||
}
|
}
|
||||||
|
|
||||||
beautify: (text, language, options) ->
|
beautify: (text, language, options) ->
|
||||||
|
|
|
@ -57,6 +57,10 @@ module.exports = {
|
||||||
type: 'integer'
|
type: 'integer'
|
||||||
default: 0
|
default: 0
|
||||||
description: "Maximum amount of characters per line (0 = disable)"
|
description: "Maximum amount of characters per line (0 = disable)"
|
||||||
|
end_with_newline:
|
||||||
|
type: 'boolean'
|
||||||
|
default: false
|
||||||
|
description: "End output with newline"
|
||||||
indent_comments:
|
indent_comments:
|
||||||
type: 'boolean'
|
type: 'boolean'
|
||||||
default: true
|
default: true
|
||||||
|
|
Loading…
Reference in New Issue