Created
July 31, 2014 15:03
-
-
Save uhtred/ecc8487681e760a3d88c to your computer and use it in GitHub Desktop.
.jsbeautifyrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Alterado para atender o Style Guide TQI | |
{ | |
// Details: https://github.com/victorporof/Sublime-HTMLPrettify#using-your-own-jsbeautifyrc-options | |
// Documentation: https://github.com/einars/js-beautify/ | |
"html": { | |
"allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg"], | |
"brace_style": "collapse", // "expand", "end-expand", "expand-strict" | |
"indent_char": " ", | |
"indent_handlebars": false, // e.g. {{#foo}}, {{/foo}} | |
"indent_inner_html": false, | |
"indent_scripts": "keep", // "separate", "normal" | |
"indent_size": 4, | |
"max_preserve_newlines": 10, | |
"preserve_newlines": true, | |
"unformatted": ["a", "sub", "sup", "b", "i", "u", "pre"], | |
"wrap_line_length": 0 | |
}, | |
"css": { | |
"allowed_file_extensions": ["css", "scss", "sass", "less"], | |
"end_with_newline": false, | |
"indent_char": " ", | |
"indent_size": 4, | |
"selector_separator": " ", | |
"selector_separator_newline": false | |
}, | |
"js": { | |
"allowed_file_extensions": ["js", "json", "jshintrc", "jsbeautifyrc"], | |
"brace_style": "collapse", // "expand", "end-expand", "expand-strict" | |
"break_chained_methods": false, | |
"e4x": false, | |
"eval_code": false, | |
"indent_char": " ", | |
"indent_level": 0, | |
"indent_size": 4, | |
"indent_with_tabs": true, | |
"jslint_happy": false, | |
"keep_array_indentation": false, | |
"keep_function_indentation": false, | |
"max_preserve_newlines": 10, | |
"preserve_newlines": true, | |
"space_before_conditional": true, | |
"space_in_paren": true, | |
"unescape_strings": false, | |
"wrap_line_length": 0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment