As for the customization of JSHint/Beautify.js, it must be done per-project by creating a file such as:
The default file considered if none is provided is:
Currently it's possible to customize whether jshint will be run by changing the value of enable_jshint
and the options used by JSHint to do the analysis through the value of jshint_options. Note that
JSHint also accepts comments inline in a file for configuration.
# Note that this is a YAML file with jshint_opts for JSHint in JSON format.
# Option determining whether JSHint should be run
# Json contents to be passed to JSHint (it's passed directly as specified
# and may be configured based on http://www.jshint.com/docs/options/)
# Option determining whether code-formatting (Ctrl+Shift+F) is enabled.
# Json contents to be passed to beautify.js (it's passed directly as specified
# and may be configured based on https://github.com/beautify-web/js-beautify)
"indent_char": " ",
/* jshint undef: true, unused: true */
in the top of a file.
for more details.