Skip to content

Instantly share code, notes, and snippets.

@waleedsamy
Created October 7, 2015 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waleedsamy/100137fd28ac49211d1c to your computer and use it in GitHub Desktop.
Save waleedsamy/100137fd28ac49211d1c to your computer and use it in GitHub Desktop.
recommended js-beautify config file
{
indent_size: 4,
indent_char: " ",
eol: " ",
indent_level: 0,
indent_with_tabs: false,
preserve_newlines: true,
max_preserve_newlines: 10,
jslint_happy: false,
space_after_anon_function: false,
brace_style: "collapse",
keep_array_indentation: false,
keep_function_indentation: false,
space_before_conditional: true,
break_chained_methods: false,
eval_code: false,
unescape_strings: false,
wrap_line_length: 0,
wrap_attributes: "auto",
wrap_attributes_indent_size: 4,
end_with_newline: false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment