js-beautify
js-beautify copied to clipboard
Beautifier for javascript
# Description Zulip defines a custom Handlebars helper `{{#tr}}` for translation, but when it happens to be [used inside a table cell](https://github.com/zulip/zulip/blob/0df4d8eb172bee9988d0a33c251368d2c2aa08ae/static/templates/search_operators.hbs#L15), js-beautify seemingly confuses it with a `` (table...
# Description - Fix for issue#1929 The issue is caused by assuming that a '}' after a case statement always means the end of case block. Modified the code to...
# Description # Input The code looked like this before beautification: ``` test Hello world ``` # Expected Output The code should have looked like this after beautification: ``` testHello...
# Description The repository does not have a lot of examples of what the different config options are supposed to mean other than the info in `README.md` file, this makes...
See #506. This is the kind of bug that is much less likely to occur if you actually tokenize instead of just streaming through characters spewing output.
# Description A new feature flag (ex: `stripDefaultValues`) removes json keys that have default json values: `null`, `zero` (integer / number), `empty array`, `empty object` and boolean `false`. _Note: empty...
**Do Not Merge This** Experiment - css tokenizer Definitely not correct code, just me experimenting with possibilities, I did not commit a lot of the code so it is lost.
There should be clearer documentation about "good-stuff" option. What does it do? At least approximately.
Don't work in vscode with this config. vscode version: 1.62.1 mac Don't work indent-scripts in vue files. "vetur.format.defaultFormatter.html": "js-beautify-html", "vetur.format.defaultFormatterOptions": { // Wrap the attribute. // - auto: Wraps the...
# Description When formatting a CSS file with django template tags or an HTML file which contains django template inside `` tag, styles are not formatted correctly. # Input The...