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 51 52 53 54 55 56 57 58
| module.exports = { parsers: { ".js": "js", ".json": "js", ".njs": "js", ".sjs": "js", ".wxs": "js", ".css": "css", ".nss": "css", ".wxss": "css", ".acss": "css", ".ttss": "css", ".qss": "css", ".html": "html", ".ux": "html", ".wxml": "html", ".nml": "html", ".vue": "html", ".nvue": "html", ".axml": "html", ".swan": "html", ".ttml": "html", ".qml": "html" }, options: { "indent_size": "2", "indent_char": "\t", "indent_with_tabs": false, "eol": "\r\n", "end_with_newline": false, "indent_level": 0, "preserve_newlines": true, "max_preserve_newlines": 2, "space_in_paren": false, "space_in_empty_paren": false, "jslint_happy": false, "space_after_named_function": true, "space_after_anon_function": true, "brace_style": "preserve-inline", "unindent_chained_methods": false, "break_chained_methods": false, "keep_array_indentation": false, "unescape_strings": false, "wrap_line_length": 9999, "e4x": false, "comma_first": false, "operator_position": "before-newline", "unformatted": ["wbr"], "html": { "wrap_attributes": "force-expand-multiline", "indent_handlebars": true, "indent_inner_html": true, "indent-scripts": "normal", "extra_liners": [] } } }
|