Socket
Socket
Sign inDemoInstall

eslint-plugin-mocha

Package Overview
Dependencies
91
Maintainers
4
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous134567Next

10.0.2

Diff

Changelog

Source

10.0.2 (December 13, 2021)

Bug Fixes

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

Code Refactoring

  • chore: switch yarn command to npm (#309)
lo1tuma
published 10.0.1 •

Changelog

Source

10.0.1 (December 8, 2021)

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)
lo1tuma
published 10.0.0 •

Changelog

Source

10.0.0 (December 8, 2021)

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)
lo1tuma
published 9.0.0 •

Changelog

Source

9.0.0 (May 26, 2021)

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)
lo1tuma
published 8.2.0 •

Changelog

Source

8.2.0 (May 25, 2021)

Enhancements

  • Memoize names (increases speed by 10x) (#280)

Code Refactoring

    • Avoid passing superfluous argument (#278)
lo1tuma
published 8.1.0 •

Changelog

Source

8.1.0 (March 5, 2021)

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)
lo1tuma
published 8.0.0 •

Changelog

Source

8.0.0 (August 6, 2020)

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)
lo1tuma
published 7.0.1 •

Changelog

Source

7.0.1 (May 30, 2020)

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)
lo1tuma
published 7.0.0 •

Changelog

Source

7.0.0 (May 13, 2020)

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)
lo1tuma
published 6.3.0 •

Changelog

Source

6.3.0 (February 19, 2020)

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)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc