Skip to content

Releases: lo1tuma/eslint-plugin-mocha

11.1.0

24 May 09:48

Choose a tag to compare

Bug Fixes

  • Fix detecting mocha config calls in no-setup-in-describe (#387)
  • Fix consistent-spacing-between-blocks when using timeout() modifier (#379)

Enhancements

  • Include typescript declaration files in npm package (#378)

Documentation

  • Fix valid-suite-title options documentation (#385)

Code Refactoring

  • Add test to verify no-identical-title supports same titles in different suites (#388)
  • Add test-case to verify generated tests work with consistent-spacing-between-blocks (#386)
  • Add regression tests for no-setup-in-describe (#380)

11.0.0

28 Apr 19:41

Choose a tag to compare

Breaking Changes

  • Rename *-description rules to *-title (#369)
  • Rename no-async-describe to no-async-suite (#368)
  • Drop support for commonjs in no-exports rule (#366)
  • Implement new resolve algorithm (#365)
  • Switch to ESM (#362)
  • Stop supporting ESLint versions < 9 (#359)
  • Remove support for node v14, v16 and v18 (#345)
  • Remove support for legacy configs and make the flat configs the default

Features

  • Implement new rule consistent-interface (#367)

Enhancements

  • Add name to flat configs (#356)

Dependency Upgrades

  • Update dependencies (#371)
  • Update all dependencies (#360)

Code Refactoring

  • Migrate codebase to typescript (#372)
  • Replace nyc with c8 for collecting coverage information (#361)
  • Use @eslint-community/eslint-utils instead of unmaintained eslint-utils (#358)
  • Use node builtin assert instead of chai (#357)

Build-Related

  • Use packtory as a release tool (#374)
  • Update CI matrix to use latest node versions (#370)

10.5.0

29 Jul 06:15

Choose a tag to compare

Enhancements

  • Add name to flat configs (#356)

10.4.3

19 Apr 07:26

Choose a tag to compare

Bug Fixes

  • Fix support for ESLint versions < 8.40.0

10.4.2

10 Apr 10:46

Choose a tag to compare

Bug Fixes

  • Stop using deprecated ESLint context methods

10.4.1

08 Mar 08:56

Choose a tag to compare

Bug Fixes

  • Downgrade globals package to support node versions < v18

10.4.0

07 Mar 08:19

Choose a tag to compare

Features

  • Add support for eslint flat config format (#349)

10.3.0

16 Feb 11:43

Choose a tag to compare

Features

  • Add consistent-spacing-between-blocks rule (#340)

Documentation

  • Add screendriver to contributors (#339)

10.2.0

25 Sep 11:22

Choose a tag to compare

Features

  • Support function calls as custom names (to stop false warnings) (#336)

Documentation

  • Automate docs with eslint-doc-generator (#330)

Dependency Upgrades

  • Update all dependencies (#334)

Build-Related

  • Include Node.js v20 in continuous integration pipeline (#338)
  • Introduce "release-it" to make releases more comfortable (#337)

10.1.0

20 Jul 07:30

Choose a tag to compare

Enhancements

  • Support this for additionalCustomNames (#329)