Releases: avajs/eslint-plugin-ava
8.0.0
Breaking changes
This plugin now requires ESLint 6.
New rules
no-inline-assertions: disallows the use of one-line arrow functions as the test implementation. b829dbchooks-order: enforce ordering of hook declarations. 348c4e8no-incorrect-deep-equal: disallowsdeepEqualandnotDeepEqualbeing used with primitives. ff4f760
All changes
Thanks
Thank you @MrHen, @forresst, @JLHwung and @gurrrung. We couldn't have done this without you!
Get involved
We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.
7.1.0
Improvements
no-ignored-test-files and no-import-test-files once again allow you to specify extensions and glob patterns. This is useful if you pre-compile your tests before running AVA, in which case the configured patterns can't be used while linting. Requires AVA 2.1.0. 428d70d
Bug fixes
prefer-t-regexno longer crashes over assertions liket.true(foo()). c8ddcc3 Thanks @GMartigny!- Scoped packages are once again ignored in
no-import-test-files67c27b4
All changes
Get involved
We welcome new contributors. AVA is a friendly place to get started in open source. We have a great articleon getting started contributing and a comprehensive contributing guide.
7.0.0
Breaking changes
- We now require Node.js 8 or higher 809f8c2
- The deprecated
assertion-messagerule has been removed 87aeb8e - Options have been removed from the
test-title,no-ignored-test-files&no-import-test-filesrules 1218892
New rules
- We've added a new rule
test-title-formatwhich lets you specify a pattern that all test titles must adhere to a184661 - We've also added
prefer-t-regexwhich enforces the use oft.regex()instead of manually usingRegExp#test(). c165ac2
Improvements
t.falsey()can now be auto-fixed tot.false()9ec0565- ESLint's
meta.typeproperty is now supported 60640f0 - The
no-ignored-test-filesandno-import-test-filesrules now require AVA 2.0 to be installed. They work with the test & helper file selection in your AVA configuration df6374a
Bug fixes
t.titleis now allowed byuse-t-well0ded4b5test-endednow ignores callback tests that do not have an inline implementation b8549df- Properties on
t.contextare no longer deemed to be part oft521d009 no-import-test-filesno longer incorrectly reports imports from dependencies c383cf6no-import-test-filesno longer crashes when the imported path is not a string (e.g.require(true)) 1c8ca97
All changes
Thanks
Thank you @Knutakir, @forresst, @GMartigny and @gurrrung. We couldn't have done this without you!
Get involved
We welcome new contributors. AVA is a friendly place to get started in open source. We have a great articleon getting started contributing and a comprehensive contributing guide.
7.0.0 Release Candidate 1
Breaking changes
- We now require Node.js 8 or higher 809f8c2
- The deprecated
assertion-messagerule has been removed 87aeb8e - Options have been removed from the
test-title,no-ignored-test-files&no-import-test-filesrules 1218892
Improvements
t.falsey()can now be auto-fixed tot.false()9ec0565- ESLint's
meta.typeproperty is now supported 60640f0 - The
no-ignored-test-filesandno-import-test-filesrules now require AVA 2.0 to be installed. They work with the test & helper file selection in your AVA configuration df6374a - We've added a new rule
test-title-formatwhich lets you specify a pattern that all test titles must adhere to a184661
Bug fixes
t.titleis now allowed byuse-t-well0ded4b5test-endednow ignores callback tests that do not have an inline implementation b8549df- Properties on
t.contextare no longer deemed to be part oft521d009 no-import-test-filesno longer incorrectly reports imports from dependencies c383cf6no-import-test-filesno longer crashes when the imported path is not a string (e.g.require(true)) 1c8ca97
All changes
Thanks
Thank you @Knutakir, @forresst, @GMartigny and @gurrrung. We couldn't have done this without you!
Get involved
We welcome new contributors. AVA is a friendly place to get started in open source. We have a great articleon getting started contributing and a comprehensive contributing guide.