From a942add1e6827f9f86ef0e798422eda54d6f141e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20L=C3=B3pez=20Almeida?= Date: Thu, 21 Jul 2016 23:41:52 -0600 Subject: [PATCH] Issue #1077 --- src/beautifiers/js-beautify.coffee | 1 + src/languages/css.coffee | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/beautifiers/js-beautify.coffee b/src/beautifiers/js-beautify.coffee index 89ed368..24df90d 100644 --- a/src/beautifiers/js-beautify.coffee +++ b/src/beautifiers/js-beautify.coffee @@ -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) -> diff --git a/src/languages/css.coffee b/src/languages/css.coffee index d891552..7db8315 100644 --- a/src/languages/css.coffee +++ b/src/languages/css.coffee @@ -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