Skip to content

Commit

Permalink
Add beautifier config for JS code
Browse files Browse the repository at this point in the history
In order to have an automated workflow to style
our code, adding now the beautifier settings of
webpack.
  • Loading branch information
Daniela Valero committed Dec 16, 2016
1 parent a9b9872 commit 8c78173
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .jsbeautifyrc
Original file line number Diff line number Diff line change
@@ -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
}
}

0 comments on commit 8c78173

Please sign in to comment.