mirror of
https://github.com/beautifier/js-beautify.git
synced 2024-11-23 20:59:43 +00:00
Update defaults JSON in README.md to actual content of defaults.json
This commit is contained in:
parent
ef59c6d6d3
commit
092ffd9e80
27
README.md
27
README.md
@ -79,23 +79,26 @@ These are the command-line flags for both Python and JS scripts:
|
||||
These correspond to underscored option keys for both library interfaces:
|
||||
|
||||
defaults = {
|
||||
indent_size: 4,
|
||||
indent_char: " ",
|
||||
indent_level: 0,
|
||||
indent_with_tabs: false,
|
||||
preserve_newlines: true,
|
||||
max_preserve_newlines: 10,
|
||||
jslint_happy: false,
|
||||
brace_style: "collapse",
|
||||
keep_array_indentation: false,
|
||||
indent_case: false,
|
||||
unescape_strings: false
|
||||
"indent_size": 4,
|
||||
"indent_char": " ",
|
||||
"indent_level": 0,
|
||||
"indent_with_tabs": false,
|
||||
"preserve_newlines": true,
|
||||
"max_preserve_newlines": 10,
|
||||
"jslint_happy": false,
|
||||
"brace_style": "collapse",
|
||||
"keep_array_indentation": false,
|
||||
"keep_function_indentation": false,
|
||||
"space_before_conditional": true,
|
||||
"eval_code": false,
|
||||
"indent_case": false,
|
||||
"unescape_strings": false
|
||||
}
|
||||
|
||||
## License
|
||||
|
||||
You are free to use this in any way you want, in case you find this
|
||||
useful or working for you.
|
||||
useful or working for you. (MIT)
|
||||
|
||||
## Credits
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user