npm js-beautify 1.9.0

latest releases: 1.15.1, 1.15.0, 1.14.11...
5 years ago

Description

  • Fixed Tab indenting - when tabs indenting enabled, they are used universally. Also, tab size customizable: 8-space tabs would mean each tab is treated as 8 spaces. (#1294, #1551)
  • Accurate line wrapping - Layout always wraps when line length exceed specified column, unless wrapping would not reduce line length. (#284, #1238)
  • Improved Template handling in HTML - Go, Django, Handlebars, ERB/EJS/ASP, PHP (still only handlebars indenting) (#881, #1602, #1620)
  • Improved Template handling in Javascript - ERB/EJS/ASP, PHP (no indenting, no Django or Handlebars due to potential syntax conflicts for curly braces) (#1377)
  • Fixed indenting of mustache inverted conditionals (#1623 @e2tha-e)
  • Fixed indenting for HTML tags with option end tags (#1213)

v1.8.9...v1.9.0

Don't miss a new js-beautify release

NewReleases is sending notifications on new releases.