Skip to content

Releases: dangreenisrael/eslint-plugin-jest-formatting

Support ESLint 8.x

17 Nov 22:20
6a10af6
Compare
Choose a tag to compare

Big thanks to @MichaelDeBoey for all the work on this!

v3.0.0 - May 4, 2021

05 May 12:28
5e6fee4
Compare
Choose a tag to compare

Breaking Changes

Padding is no longer enforced between statements and awaited statements of the same kind.

Upgrade transitive deps

16 Jan 20:28
63189df
Compare
Choose a tag to compare

This release is just a run of yarn upgrade to make sure everything is nice and fresh.

ESLint 7 support

24 Jun 16:14
05f2dfb
Compare
Choose a tag to compare

Added support for ESLint 7

Breaking Changes:

  • Supported node versions: "^10.12.0 || >=12.0.0"
  • Removed deprecated rules

ESLint 6 Support

31 Oct 16:08
f33e204
Compare
Choose a tag to compare

This is a compatibility update. Everything should now work with both ESLint 5 & 6.

Properly Deprecate Rules

31 Oct 12:39
995604b
Compare
Choose a tag to compare

This release adds a deprecation flag in the rule.meta field so that using deprecated rules will show up when you run ESLint

Expanded rule set

20 Jul 18:08
d02c648
Compare
Choose a tag to compare

This release includes a bunch of new rules, and a significant rewrite under the hood.

Big thanks to @benkimpel for al the hard work

Rules Added

  • padding-before-all

  • padding-before-after-all-blocks

  • padding-before-after-each-blocks

  • padding-before-before-all-blocks

  • padding-before-before-each-blocks

  • padding-before-expect-statements

Other

  • Security update of lodash

Relevant PRs:

#44
#47

Rule Change

07 Apr 15:46
f91369e
Compare
Choose a tag to compare
Rule Change Pre-release
Pre-release

The rules are now more specific:

{
    "rules": {
        "jest-formatting/padding-before-test-blocks": 2,
        "jest-formatting/padding-before-describe-blocks": 2,
    }
}

Instead of

{
    "rules": {
        "jest-formatting/padding-test-blocks": 2,
        "jest-formatting/padding-describe-blocks": 2,
    }
}

This should make the plugin more performant and less error prone.

It also gives more granular control over the formatting.

First Version

02 Apr 21:36
d882b7d
Compare
Choose a tag to compare
First Version Pre-release
Pre-release

This release contains 2 rules:

jest-formatting/padding-test-blocks
jest-formatting/padding-describe-blocks