Skip to content

Version 0.22.0

Compare
Choose a tag to compare
@pappasam pappasam released this 31 Dec 08:30
· 62 commits to main since this release

Release entirely related to this PR: #33

Added

  • Optionally add the ability to sort inline tables and arrays. New switches added for this functionality: --sort-inline-tables and --sort-inline-arrays, which are implied by the existing --all option
  • New options groups to the CLI, to group the related formatting, comment, and sorting arguments
  • Switch to add trailing comma to multi-line inline arrays --trailing-comma-inline-array
  • Some additional formatting checks

Changed

  • Make sure inline arrays and tables are consistently formatted
  • Normalize the formatting for key = value pairs, always one space on either side of equals sign