forked from Ortus-Solutions/commandbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jsbeautifyrc
42 lines (42 loc) · 1.27 KB
/
.jsbeautifyrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"beautify.language": {
"js": ["js","json","cfc"],
"css": ["css", "scss"],
"html": ["htm", "html", "cfml", "cfm"]
},
"brace_style": "collapse",
"indent_with_tabs": true,
"indent_size": 4,
"indent_level": 0,
"preserve_newlines": true,
"max_preserve_newlines": 5,
"html": {
"allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg", "cfm", "cfml"],
"indent_scripts": "keep",
"indent_inner_html": true,
"indent_body_inner_html": true,
"indent_handlebars": true,
"unformatted": ["code", "pre"],
"content_unformatted": ["pre", "code"],
"wrap_line_length": 0
},
"css": {
"selector_separator_newline": true
},
"js": {
"break_chained_methods": true,
"comma_first": false,
"e4x": false,
"jslint_happy": true,
"keep_function_indentation": true,
"keep_array_indentation": true,
"space_after_anon_function": false,
"spaceBeforeConditional": true,
"space_in_paren": true,
"space_in_empty_paren": false,
"space_before_conditional": true,
"operator_position": "before-newline",
"unescape_strings": false,
"wrap_line_length": 0
}
}