🚨 Breaking Changes
- V5: remove sub packages - by Anthony Fu and Vida Xie in #794 (3b2fd)
- Handle TS object-like nodes in
object-curly-spacing
instead ofblock-spacing
- by Vida Xie in #822 (e9a4b) - Handle TS object-like nodes in
object-curly-newline
instead ofbrace-style
andcurly-newline
- by Vida Xie in #823 (32f74) - object-property-newline: Remove deprecated option - by Vida Xie in #809 (30614)
- space-before-function-paren: Handle catch clause with param - by Vida Xie in #821 (64c06)
🚀 Features
- No longer deps on
typescript
- by Yosuke Ota, Vida Xie and Anthony Fu in #838 (c18ef) - Add support for
using
- by Yosuke Ota and Vida Xie in #804 (d1333) - no-extra-parens: Allow spread syntax to wrap parentheses - by zzxming in #781 (bc74e)
- operator-linebreak: Support TS Nodes - by Vida Xie and Anthony Fu in #805 (d7ab8)
🐞 Bug Fixes
- Metadata path generate normalize - by zzxming in #820 (7c6d6)
- indent: Correctly ignore
JSXText
and TS nodes - by Vida Xie in #785 (b0b42) - jsx-sort-props: Correct option schema - by Vida Xie in #801 (f80f3)
- space-before-blocks: Check space before
TSModuleBlock
nodes - by shixianqin and Vida Xie in #798 (2e9d1) - type-annotation-spacing: Handle type annotation in parens - by Vida Xie in #836 (0f7b4)
- type-generic-spacing: Prevent errors caused by empty type params - by Vida Xie in #828 (229ef)