Clean up code formatting, add .jsbeautifyrc

Change-Id: Iafcc8084d87d8f2323d97bb4446e031951820d41
This commit is contained in:
Santhosh Thottingal
2016-05-09 16:40:55 +05:30
parent 35cd1b5736
commit 29f28a1f50
2 changed files with 101 additions and 80 deletions

17
.jsbeautifyrc Normal file
View File

@@ -0,0 +1,17 @@
{
"preserve_newlines": true,
"jslint_happy": true,
"keep_array_indentation": true,
"space_before_conditional": true,
"max_preserve_newlines": 10,
"brace_style": "collapse",
"keep_function_indentation": false,
"break_chained_methods": false,
"eval_code": false,
"unescape_strings": false,
"wrap_line_length": 0,
"space_in_paren": true,
"space_in_square_bracket": true,
"git_happy": true,
"indent_with_tabs": true
}