Skip to content

Releases: eslint-stylistic/eslint-stylistic

v5.5.0

18 Oct 04:01
ad0c6a9

Choose a tag to compare

5.5.0 (2025-10-18)

Features

  • comma-dangle: support TSFunctionType and TSDeclareFunction (#1015) (cd3776f)
  • comma-dangle: support TSTypeParameterInstantiation (#1016) (ba930e7)
  • indent: deprecate offsetTernaryExpressionsOffsetCallExpressions via offsetTernaryExpressions.CallExpression (#997) (f2837b1)
  • indent: introduce NewExpression and AwaitExpression in offsetTernaryExpressions (#996) (2b5a39f)
  • new rule list-style (#895) (a9ec0de)
  • object-curly-spacing: add emptyObjects option to control spacing in empty objects (#1002) (85ef5bc)
  • padding-line-between-statements: narrow report range to reduce noise (#1017) (b3a3acf)
  • update deps (#1011) (9d5085c)

Bug Fixes

  • indent: correctly indent NewExpression in ConditionalExpression (#994) (01cec33)
  • replace context.getSourceCode() with context.sourceCode (#1004) (f3faa54)

Documentation

  • contribute: add guide to run the document site (#1001) (37a64c5)
  • object-curly-spacing: introduce overrides (#998) (6452b52)

Chores

  • no-extra-parens: remove useless logic (#1013) (8e34765)
  • remove TestCaseError#type (#1005) (83d00c5)
  • replace Object.prototype.hasOwnProperty.call with Object.hasOwn (#992) (97193e1)

v5.4.0

19 Sep 14:38
04da3bb

Choose a tag to compare

5.4.0 (2025-09-19)

Features

  • generator-star-spacing: introduce shorthand to override property function shorthands (#980) (62d7a17)
  • introduce experimental mechanism (#894) (87f09ee)
  • object-curly-spacing: introduce overrides (#898) (2a422b7)

Bug Fixes

  • correctly display the deprecation warning (#967) (094aa48)
  • multiline-comment-style: correctly handle ignored comments (#969) (cad56b2)
  • quote-props: only check ES3 reserved words for keywords option (#964) (bc4810f)
  • update deps (#983) (86596f9)

Documentation

  • indent: introduce assignmentOperator (#974) (8a096a8)
  • max-len: clarify that ignorePattern needs to be a string (#981) (d38b703)

Build Related

  • deps: bump actions/setup-node from 4 to 5 (#976) (2983f00)

v5.3.1

01 Sep 09:39
c586735

Choose a tag to compare

No significant changes

    View changes on GitHub

v5.3.0

01 Sep 09:03
eb03848

Choose a tag to compare

5.3.0 (2025-09-01)

Features

  • indent: introduce assignmentOperator (#933) (0474f6b)
  • jsx-one-expression-per-line: enhance the fix result when allow is single-line (#922) (e0ce078)
  • no-extra-parens: deprecate some options in favor of ignoredNodes (#953) (8ccd980)
  • no-extra-parens: handle TSNonNullExpression and TSSatisfiesExpression as a TSAssertion (#954) (6aca363)
  • no-extra-parens: introduce ignoredNodes (#899) (d848423)
  • padding-line-between-statements: allow prefix multiline/singleline for return and type (#902) (6915135)
  • space-unary-ops: support non null assertion (#941) (fff2ae9)
  • update deps (#957) (5f97042)
  • update keyword list (#929) (3001449)

Bug Fixes

  • customize: remove specific nodes in ignoreNodes of the indent rule (#936) (1264cba)
  • deprecate jsx-props-no-multi-spaces rule in favor of no-multi-spaces (#925) (a3c39e6)
  • disable-legacy: add missing jsx-pascal-case (#942) (3eea6dd)
  • indent: align indent for AccessorProperty, TSAbstractPropertyDefinition and TSAbstractAccessorProperty with PropertyDefinition (#932) (2afb9a4)
  • indent: ensure the opening curly brace is align with enum (#938) (2007646)
  • remove nullThrow, use NonNullAssertion directly (#943) (9a78f70)
  • space-unary-ops: correct messageId (#948) (54bb446)
  • type-generic-spacing: allow spaces between class and generic (#927) (84fa86a)

Documentation

Chores

Performance

  • multiline-comment-style: reduce array iterations (#928) (ddc9ad7)

v5.2.3

08 Aug 10:25
621b82a

Choose a tag to compare

   🐞 Bug Fixes

  • indent:
    View changes on GitHub

v5.2.2

22 Jul 12:39
7b45fc5

Choose a tag to compare

   🐞 Bug Fixes

  • no-extra-parens: Skip nested TSUnionType/TSIntersectionType when nestedBinaryExpressions: false  -  by @9romise in #905 (348f6)
  • object-curly-spacing: Prevent crash when encountering multiple non-ImportSpecifier nodes  -  by @9romise in #907 (9b77d)
    View changes on GitHub

v5.2.1

21 Jul 09:40
dee0582

Choose a tag to compare

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub

v5.2.0

16 Jul 08:32
38232bd

Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v5.1.0

29 Jun 09:54
4d44889

Choose a tag to compare

5.1.0 (2025-06-29)

Bug Fixes

  • correct rule name in disable-legacy (#849) (e63f1e4)
  • indent: correct handling of return type annotations (#853) (5259950)

Build Related

Chores

v5.0.0

23 Jun 00:46
aa436b8

Choose a tag to compare

   🚨 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 of block-spacing  -  by Vida Xie in #822 (e9a4b)
  • Handle TS object-like nodes in object-curly-newline instead of brace-style and curly-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)
    View changes on GitHub