Skip to content

Releases: avajs/eslint-plugin-ava

v10.3.1

13 Jun 07:33
Compare
Choose a tag to compare
  • Fix the ESLint peer dependency semver specifier 42e9445

v10.3.0...v10.3.1

10.3.0

27 Apr 12:08
404e742
Compare
Choose a tag to compare
  • Add t.teardown() a4878cf
  • Add use-t-throws-async-well rule eea71c3
  • Assertion methods auto correction for use-t-well rule d9f9a49
  • Don't trigger no-incorrect-deep-equal for regular expression a217bee

v10.2.0...v10.3.0

10.2.0

16 Feb 16:06
26903de
Compare
Choose a tag to compare
  • Recognize t.try() assertion f350675

v10.1.0...v10.2.0

10.1.0

16 Feb 12:20
bb971ca
Compare
Choose a tag to compare
  • @pvdlg: Allow importing AVA as anyTest in TypeScript files 524594d

v10.0.1...v10.1.0

10.0.1

01 Feb 14:33
9fcec4d
Compare
Choose a tag to compare
  • Add t.timeout to use-t-well rule 3e1102a

v10.0.0...v10.0.1

10.0.0

19 Jan 14:45
1e53817
Compare
Choose a tag to compare

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.

v9.0.0...v10.0.0

Thanks to @jscheffner, @gurpreetatwal and @fisker. We couldn't have done this without you!

v9.0.0

25 Sep 14:59
Compare
Choose a tag to compare

Breaking

  • Support named imports and destructured requires (#232) e30eafa
    This is breaking as it might enable finding more issues that was previously not found.

Enhancements

  • Fully support non-file usage 6705aa6

v8.0.0...v9.0.0

8.0.0

20 Aug 07:21
44e38ed
Compare
Choose a tag to compare

Breaking changes

This plugin now requires ESLint 6.

New rules

All changes

v7.1.0...v8.0.0

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

10 Jun 15:29
3e8db20
Compare
Choose a tag to compare

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 like t.true(foo()). c8ddcc3 Thanks @GMartigny!
  • Scoped packages are once again ignored in no-import-test-files 67c27b4

All changes

v7.0.0...v7.1.0

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

01 Jun 11:58
32b45c0
Compare
Choose a tag to compare

Breaking changes

  • We now require Node.js 8 or higher 809f8c2
  • The deprecated assertion-message rule has been removed 87aeb8e
  • Options have been removed from the test-title, no-ignored-test-files & no-import-test-files rules 1218892

New rules

  • We've added a new rule test-title-format which lets you specify a pattern that all test titles must adhere to a184661
  • We've also added prefer-t-regex which enforces the use of t.regex() instead of manually using RegExp#test(). c165ac2

Improvements

  • t.falsey() can now be auto-fixed to t.false() 9ec0565
  • ESLint's meta.type property is now supported 60640f0
  • The no-ignored-test-files and no-import-test-files rules now require AVA 2.0 to be installed. They work with the test & helper file selection in your AVA configuration df6374a

Bug fixes

  • t.title is now allowed by use-t-well 0ded4b5
  • test-ended now ignores callback tests that do not have an inline implementation b8549df
  • Properties on t.context are no longer deemed to be part of t 521d009
  • no-import-test-files no longer incorrectly reports imports from dependencies c383cf6
  • no-import-test-files no longer crashes when the imported path is not a string (e.g. require(true)) 1c8ca97

All changes

v6.0.0...v7.0.0

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.