forked from Gogh-Co/Gogh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jsbeautifyrc
50 lines (49 loc) · 1.31 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
43
44
45
46
47
48
49
50
{
"editorconfig": true,
"indent_char": " ",
"force_indentation": true,
"preserve_newlines": false,
"indent_with_tabs": false,
"keep_array_indentation": false,
"break_chained_methods": false,
"indent_scripts": "keep",
"brace_style": "collapse",
"space_before_conditional": true,
"unescape_strings": false,
"jslint_happy": false,
"end_with_newline": true,
"wrap_line_length": "0",
"indent_inner_html": true,
"comma_first": false,
"e4x": true,
"indent_empty_lines": false,
"beautifiers": [
"JS-Beautify",
"Prettier",
"Pretty Diff",
"ESLint"
],
"html": {
"allowed_file_extensions": ["htm", "html", "xhtml", "xml"],
"indent_size": 4,
"wrap_attributes": "auto",
"unformatted": ["img", "code", "pre", "sub", "sup", "em", "strong", "b", "i", "u", "strike", "big", "small", "pre", "svg"]
},
"css": {
"allowed_file_extensions": ["css", "scss", "sass", "less"],
"indent_size": 2,
"align_assignments": true,
"end_with_comma": true
},
"js": {
"allowed_file_extensions": ["js", "json", "jshintrc", "jsbeautifyrc"],
"indent_size": 2,
"indent_level": 0,
"quotes": "single",
"align_assignments": true,
"space_after_anon_function": true,
"space_in_empty_paren": true,
"end_with_comma": true,
"end_with_semicolon": true
}
}