eslint-plugin-mocha

ESLint rules for mocha

MIT License

Downloads
4.3M
Stars
279
Committers
53

Bot releases are hidden (Show)

eslint-plugin-mocha - 10.5.0 Latest Release

Published by lo1tuma 3 months ago

Enhancements

  • Add name to flat configs (#356)
eslint-plugin-mocha - 10.4.3

Published by lo1tuma 6 months ago

Bug Fixes

  • Fix support for ESLint versions < 8.40.0
eslint-plugin-mocha - 10.4.2

Published by lo1tuma 6 months ago

Bug Fixes

  • Stop using deprecated ESLint context methods
eslint-plugin-mocha - 10.4.1

Published by lo1tuma 8 months ago

Bug Fixes

  • Downgrade globals package to support node versions < v18
eslint-plugin-mocha - 10.4.0

Published by lo1tuma 8 months ago

Features

  • Add support for eslint flat config format (#349)
eslint-plugin-mocha - 10.3.0

Published by lo1tuma 8 months ago

Features

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

Documentation

  • Add screendriver to contributors (#339)
eslint-plugin-mocha - 10.2.0

Published by lo1tuma about 1 year ago

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)
eslint-plugin-mocha - 10.1.0

Published by lo1tuma over 2 years ago

Enhancements

  • Support this for additionalCustomNames (#329)
eslint-plugin-mocha - 10.0.5

Published by lo1tuma over 2 years ago

Bug Fixes

  • Support Node 18 + switch from ramda to rambda (#326)

Code Refactoring

  • Add unit tests to verify the correct reference is analyzed for shadowing (#328)
eslint-plugin-mocha - 10.0.4

Published by lo1tuma over 2 years ago

Documentation

  • Document recommended error level (#317)

Dependency Upgrades

  • Bump package versions due to vulnerability issues (#320)
eslint-plugin-mocha - 10.0.3

Published by lo1tuma almost 3 years ago

Bug Fixes

  • Allow dynamic expressions as description argument in no-empty-description (#316)
eslint-plugin-mocha - 10.0.2

Published by lo1tuma almost 3 years ago

Bug Fixes

  • Fix no-empty-description rule to not report on dynamic values (#315)

Code Refactoring

  • chore: switch yarn command to npm (#309)
eslint-plugin-mocha - 10.0.1

Published by lo1tuma almost 3 years ago

Bug Fixes

  • Add mocha prefix to "no-empty-description" rule name in rec config (#310)

Build-Related

  • chore: use npm-run-all to run lint/test scripts (#308)
eslint-plugin-mocha - 10.0.0

Published by lo1tuma almost 3 years ago

Breaking Changes

  • Turn off no-hooks-for-single-case in recommended (#307)
  • Drop support for node v12 (#299)

Features

  • Add no-empty-description rule. closes #302 (#304)

Enhancements

  • Add rule documentation URLs (and eslint-plugin-eslint-plugin) (#294)

Documentation

  • Remove unavailable badge from README (#305)

Dependency Upgrades

  • Update devDependencies (#301)

Code Refactoring

  • Remove eslint-config-holidaycheck dev dependency (#300)

Build-Related

  • Add markdownlint and fix linting issues (#306)
eslint-plugin-mocha - 9.0.0

Published by lo1tuma over 3 years ago

Breaking Changes

  • Drop support for node v10 (#285)

Bug Fixes

  • Fix false positive in no-setup-in-describe (#293)

Features

  • Add "all" config preset which enables all rules (#281)

Enhancements

  • Improve no-skipped performance (#292)
  • Improve no-hooks-for-single-case performance (#291)
  • Improve no-nested-tests performance (#290)
  • Improve performance of no-identical-title (#289)
  • Improve no-setup-in-describe performance (#287)
  • Improve no-mocha-arrows performance (#288)
  • Improve performance of no-exports rule (#286)
  • Enable all rules during runtime benchmark (#282)

Dependency Upgrades

  • Update dependencies (#284)

Build-Related

  • Add node v16 to CI environments (#283)
eslint-plugin-mocha - 8.1.0

Published by lo1tuma over 3 years ago

Bug Fixes

  • Fix prefer-arrow-callback to not fail when using import.meta (#266)

Enhancements

  • Speed up no-exclusive-tests and no-pending-tests (#276)
  • set env.mocha on recommended config (#273)
  • Add benchmarks for runtime with many files (#269)

Documentation

  • Remove stray linebreak at top of file (#272)
  • Add recommended tick to no-exports (#271)

Build-Related

  • Improve benchmark test reliability (#277)
eslint-plugin-mocha - 8.0.0

Published by lo1tuma about 4 years ago

Breaking Changes

  • Consistently use shared settings in all rules (#262)
  • remove autofix from no-skipped-tests rule fix (#258)

Features

  • New rule no-exports (#263)

Enhancements

  • New option ignoreSkipped for handle-done-callback rule (#260)

Documentation

  • Add meta.docs.description to all rules (#257)

Dependency Upgrades

  • Update dependencies (#259)

Code Refactoring

  • Use includes instead of indexOf (#261)
eslint-plugin-mocha - 7.0.1

Published by lo1tuma over 4 years ago

Bug Fixes

  • Fix no-setup-in-describe to not flag describe.skip() (#256)
  • Fix max-top-level-suites to work with ES modules (#255)
  • Support comments in arrow functions when fixing (#253)
eslint-plugin-mocha - 7.0.0

Published by lo1tuma over 4 years ago

Breaking Changes

  • Drop support for ESLint < v7 and Node.js < v10 (#247)

Enhancements

  • Add meta.type and missing fixable: 'code' (#245)

Dependency Upgrades

  • Updates of devDependencies (#246)
eslint-plugin-mocha - 6.3.0

Published by lo1tuma over 4 years ago

Bug Fixes

  • no-hooks-for-single-case: fix false postive in nested suites (#238)
  • Fix max-top-level-suites to ignore generated suites (#239)
  • Check static template strings in valid-test-description and valid-suite-description (#237)

Enhancements

  • no-hooks: add option to allow certain kind of hooks (#236)
  • Add schemas for options (and remove for files which are using settings) (#234)
  • Add u flag in RegExp for valid-test-description and valid-suite-description (#232)
  • Add fixable property to fixable rules (and mention in docs) (#228)
  • add plugin to recommended config (#226)

Documentation

  • Indicate whether rule is recommended (#229)
  • "Options" heading in doc files (and consistent level 2 heading) (#233)
  • Doc syntax issue (#231)

Code Refactoring

  • Nondeprecated rule format (#235)
  • Alphabetize rule lists (#227)

Build-Related

    • npm: Add package-lock.json (#230)
  • ✉️ Send a webhook to Coveralls when the build completes (#222)