Skip to content

Instantly share code, notes, and snippets.

@millionfor
Created March 9, 2022 08:55
Show Gist options
  • Save millionfor/824b130c46368de7ca7355e36005a8ad to your computer and use it in GitHub Desktop.
Save millionfor/824b130c46368de7ca7355e36005a8ad to your computer and use it in GitHub Desktop.
{
"html": {
"allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg", "dust"],
"brace_style": "collapse",
"end_with_newline": true,
"indent_char": " ",
"indent_handlebars": true,
"indent_inner_html": false,
"indent_scripts": "keep",
"indent_size": 2,
"max_preserve_newlines": 1000,
"preserve_newlines": true,
"unformatted": ["a", "span", "img", "code", "pre", "sub", "sup", "em", "strong", "b", "i", "u", "strike", "big", "small", "pre", "h1", "h2", "h3", "h4", "h5", "h6"],
"wrap_line_length": 0
},
"css": {
"allowed_file_extensions": ["css", "scss", "sass", "less"],
"end_with_newline": true,
"indent_char": " ",
"indent_size": 2,
"newline_between_rules": true,
"selector_separator": "",
"selector_separator_newline": true,
"preserve_newlines": true,
"max_preserve_newlines": 1000
},
"js": {
"allowed_file_extensions": ["js", "json", "jshintrc", "jsbeautifyrc"],
"brace_style": "collapse-preserve-inline",
"break_chained_methods": false,
"e4x": false,
"end_with_newline": false,
"indent_char": " ",
"indent_level": 0,
"indent_size": 2,
"indent_style": "space",
"indent_with_tabs": false,
"jslint_happy": false,
"keep_array_indentation": true,
"keep_function_indentation": false,
"max_preserve_newlines": 1000,
"preserve_newlines": false,
"space_after_anon_function": false,
"space_before_conditional": true,
"quotes": "single",
"space_in_empty_paren": false,
"object_curly_spacing": true,
"space_in_paren": false,
"unescape_strings": false,
"break_chained_methods": false,
"wrap_line_length": 0,
"beautifiers": [
"JS-Beautify",
"Prettier"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment