Merge pull request #1079 from raky291/master

Issue #1077. Add end_with_newline to CSS language and JS-Beautify
This commit is contained in:
Glavin Wiechert 2016-07-22 10:52:14 -03:00 committed by GitHub
commit 51874a5eba
2 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,7 @@ module.exports = class JSBeautify extends Beautifier
newline_between_rules: true
preserve_newlines: true
wrap_line_length: true
end_with_newline: true
}
beautify: (text, language, options) ->

View File

@ -57,6 +57,10 @@ module.exports = {
type: 'integer'
default: 0
description: "Maximum amount of characters per line (0 = disable)"
end_with_newline:
type: 'boolean'
default: false
description: "End output with newline"
indent_comments:
type: 'boolean'
default: true