Browse Source

Add js-beautify config

Try to standardize coding style for HTML & JavaScript via this tool
adaptive-webui-19844
Chocobo1 7 years ago
parent
commit
208d21ff73
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 29
      src/webui/www/.jsbeautifyrc

29
src/webui/www/.jsbeautifyrc

@ -0,0 +1,29 @@ @@ -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
}
}
}
Loading…
Cancel
Save