ESLint rules for formatting test suites written for jest.
MIT License
Bot releases are hidden (Show)
Published by dangreenisrael almost 3 years ago
Big thanks to @MichaelDeBoey for all the work on this!
Published by dangreenisrael over 3 years ago
Padding is no longer enforced between statements and awaited statements of the same kind.
Published by dangreenisrael almost 4 years ago
This release is just a run of yarn upgrade
to make sure everything is nice and fresh.
Published by dangreenisrael over 4 years ago
Added support for ESLint 7
Breaking Changes:
Published by dangreenisrael almost 5 years ago
This is a compatibility update. Everything should now work with both ESLint 5 & 6.
Published by dangreenisrael almost 5 years ago
This release adds a deprecation flag in the rule.meta
field so that using deprecated rules will show up when you run ESLint
Published by dangreenisrael about 5 years ago
This release includes a bunch of new rules, and a significant rewrite under the hood.
Big thanks to @benkimpel for al the hard work
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
#44
#47
Published by dangreenisrael over 5 years ago
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.
Published by dangreenisrael over 5 years ago
This release contains 2 rules:
jest-formatting/padding-test-blocks
jest-formatting/padding-describe-blocks