Releases: avajs/eslint-plugin-ava
10.4.0
- Support assertion message in
t.timeout()
@jonathansamines 420c862
v10.3.1
- Fix the ESLint peer dependency semver specifier 42e9445
10.3.0
10.2.0
- Recognize
t.try()
assertion f350675
10.1.0
10.0.1
- Add
t.timeout
touse-t-well
rule 3e1102a
10.0.0
Require at least Node.js 10.18, 12.14 or 13.5. These are the same versions that are supported by AVA itself.
The no-ignored-test-files
and no-import-test-files
rules have been updated for AVA 3.
Thanks to @jscheffner, @gurpreetatwal and @fisker. We couldn't have done this without you!
v9.0.0
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
: disallowsdeepEqual
andnotDeepEqual
being 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-regex
no longer crashes over assertions liket.true(foo())
. c8ddcc3 Thanks @GMartigny!- Scoped packages are once again ignored in
no-import-test-files
67c27b4
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.