Add js-beautify config

Try to standardize coding style for HTML & JavaScript via this tool
This commit is contained in:
Chocobo1 2018-03-21 15:25:46 +08:00
parent 9e4f246c89
commit 208d21ff73
No known key found for this signature in database
GPG key ID: 210D9C873253A68C

View file

@ -0,0 +1,29 @@
{
"indent_size": 4,
"indent_char": " ",
"indent_with_tabs": false,
"eol": "\n",
"end_with_newline": true,
"indent_level": 0,
"preserve_newlines": true,
"max_preserve_newlines": 2,
"space_in_paren": false,
"space_in_empty_paren": false,
"jslint_happy": false,
"space_after_anon_function": false,
"brace_style": "end-expand",
"unindent_chained_methods": false,
"break_chained_methods": false,
"keep_array_indentation": false,
"unescape_strings": false,
"wrap_line_length": 0,
"e4x": false,
"comma_first": false,
"operator_position": "after-newline",
"html": {
"js": {
"end_with_newline": false
}
}
}