Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Jun 13:09
a80b328

Potentially breaking changes:

  • The default wrap threshold is now -1 which indicates that no wrapping is forced, by default. In order to maintain the previous 1.x default behavior, set multilineArraysWrapThreshold: 1 in your Prettier config.
  • Leading new lines now force an array wrap. This means that existing wrapped arrays will not unwrap if the multilineArraysWrapThreshold config is lowered.
  • If you're also using the plugin prettier-plugin-sort-json, it now works with this plugin: your JSON formatting will likely change as a result.

Commits

  • 4f5c742: update deps and configs (electrovir)
  • 091f6a5: use test-as-package (electrovir)
  • 45b754e: add better debugging info to README (electrovir)
  • aeca1b6: update configs, license, and deps (electrovir)
  • 309f8cb: fix prettier warning on missing parser (in tests) (electrovir)
  • 67011d2: tweak test case property names (electrovir)
  • 8f50b50: remove spellcheck words that are now covered in base config (electrovir)
  • c081b9a: add tsconfig test (electrovir)
  • 59735c5: fix comments not overriding manual wrapping (electrovir)
  • 4c20dd5: work with prettier-plugin-sort-json (electrovir)
  • d36fcf8: add leading new line detection (electrovir)
  • ecb12ac: change default wrap threshold to -1, indicating none (electrovir)
  • cc84605: upgrade deps (electrovir)
  • 76d7ecb: update docs (electrovir)
  • a80b328: update to 2.0.0 (electrovir)