Skip to content

Instantly share code, notes, and snippets.

@shodanuk
Forked from thevirtualforge/.jsbeautifyrc
Created March 8, 2017 21:50
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 shodanuk/095e291061fa7307149ea4c5483d1fdb to your computer and use it in GitHub Desktop.
Save shodanuk/095e291061fa7307149ea4c5483d1fdb to your computer and use it in GitHub Desktop.
JS-Beautify config to aid enforcement of VF Javascript style guidelines
{
"indent_size": 4,
"indent_char": " ",
"eol": "\n",
"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": true,
"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