mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 13:58:51 +03:00
Add js-beautify config
Try to standardize coding style for HTML & JavaScript via this tool
This commit is contained in:
parent
9e4f246c89
commit
208d21ff73
1 changed files with 29 additions and 0 deletions
29
src/webui/www/.jsbeautifyrc
Normal file
29
src/webui/www/.jsbeautifyrc
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue