From 64c88ea8906068c93518b32c4e3a5e943c88843b Mon Sep 17 00:00:00 2001 From: Daniela Valero Date: Fri, 16 Dec 2016 13:32:17 -0500 Subject: [PATCH] feat: Add beautifier config for JS code In order to have an automated workflow to style our code, adding now the beautifier settings of webpack. --- .jsbeautifyrc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .jsbeautifyrc diff --git a/.jsbeautifyrc b/.jsbeautifyrc new file mode 100644 index 00000000000..79b04984674 --- /dev/null +++ b/.jsbeautifyrc @@ -0,0 +1,25 @@ +{ + "js": { + "allowed_file_extensions": ["js", "json", "jshintrc", "jsbeautifyrc"], + "brace_style": "collapse", + "break_chained_methods": false, + "e4x": true, + "eval_code": false, + "end_with_newline": true, + "indent_char": "\t", + "indent_level": 0, + "indent_size": 1, + "indent_with_tabs": true, + "jslint_happy": false, + "jslint_happy_align_switch_case": true, + "space_after_anon_function": false, + "keep_array_indentation": false, + "keep_function_indentation": false, + "max_preserve_newlines": 2, + "preserve_newlines": true, + "space_before_conditional": false, + "space_in_paren": false, + "unescape_strings": false, + "wrap_line_length": 0 + } +} \ No newline at end of file