Skip to content

Instantly share code, notes, and snippets.

@thevirtualforge
Last active March 8, 2017 21:50
Show Gist options
  • Save thevirtualforge/fabcd6b4ee4d81a7039f to your computer and use it in GitHub Desktop.
Save thevirtualforge/fabcd6b4ee4d81a7039f 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