eslint-plugin-ava

ESLint rules for AVA

MIT License

Downloads
660.5K
Stars
228
Committers
48

Bot releases are hidden (Show)

eslint-plugin-ava - 7.0.0 Release Candidate 1

Published by novemberborn over 5 years ago

Breaking changes

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

Improvements

  • t.falsey() can now be auto-fixed to t.false() 9ec0565ed3f9ac6fc8afaddc733b9a6619fbf935
  • ESLint's meta.type property is now supported 60640f076ccfcdbace954287bf62cbfa4f4fe8f1
  • 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 df6374ae05b8267ccdd8b2a15990c4be7892915a
  • We've added a new rule test-title-format which lets you specify a pattern that all test titles must adhere to a1846615ec4d8b7586b55a4faa2cf538d9e7b080

Bug fixes

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

All changes

v6.0.0...v7.0.0-rc.1

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.