![]() E, -extra_liners List of tags (defaults to that should have an extra newline before them. T, -content_unformatted List of tags (defaults to pre) whose content should not be reformatted U, -unformatted List of tags (defaults to inline) that should not be reformatted d, -inline List of tags to be considered inline tags i, -wrap-attributes-indent-size Indent wrapped attributes to after N characters (ignored if wrap-attributes is "aligned") A, -wrap-attributes Wrap attributes to new lines w, -wrap-line-length Maximum characters per line (0 disables) I, -indent-inner-html Indent and sections. m, -max-preserve-newlines Maximum number of line-breaks to be preserved in one chunk p, -preserve-newlines Preserve existing line-breaks (-no-preserve-newlines disables) N, -newline-between-rules Add a newline between CSS rules L, -selector-separator-newline Add a newline between multiple selectors e, -eol Character(s) to use as line terminators. We'll use indent_size to discuss how this configuration would behave, but any number of settings can be inherited or overridden: jsbeautifyrc, can also use inheritance/overriding.īelow is an example configuration tree showing all the supported locationsįor language override nodes. In the JavaScript implementation, settings loaded from a config file, such as. This works for settings passed directly to the API in either implementation. The settings are a shallow tree whose values are inherited for all languages, butĬan be overridden. Setting inheritance and Language-specific overrides jsbeautifyrc file containing JSON data at any level of the filesystem above $PWDĬonfiguration sources provided earlier in this stack will override later ones.
0 Comments
Leave a Reply. |