eslint-plugin-mocha

ESLint rules for mocha

MIT License

Downloads
4.3M
Stars
279
Committers
53

Bot releases are hidden (Show)

eslint-plugin-mocha - 6.2.2

Published by lo1tuma almost 5 years ago

Bug Fixes

  • Support TDD interface in no-setup-in-describe (#220)

Build-Related

  • 🚀 Use GitHub Actions instead of Travis (#221)
eslint-plugin-mocha - 6.2.1

Published by lo1tuma almost 5 years ago

Bug Fixes

  • Fix no-setup-in-describe to allow mocha config calls (#215)
  • Relax no-synchronous-tests to allow non literals from concise arrows (#216)

Documentation

  • Minor documentation tweaks (#217)

Dependency Upgrades

  • Update devDependencies (#218)
eslint-plugin-mocha - 6.2.0

Published by lo1tuma about 5 years ago

Enhancements

  • Startup Performance Optimization (#214)
eslint-plugin-mocha - 6.1.1

Published by lo1tuma about 5 years ago

Bug Fixes

  • Fix no-setup-in-describe to allow Mocha suite config (#209)
eslint-plugin-mocha - 6.1.0

Published by lo1tuma about 5 years ago

Enhancements

  • Add custom message for valid-suite-description (#207)
  • Add custom message for valid-test-description rule (#206)
eslint-plugin-mocha - 6.0.0

Published by lo1tuma over 5 years ago

Breaking Changes

  • Revamped recommended ruleset (#200)
  • Drop nodejs 6 support (#197)

Bug Fixes

  • Fix no-setup-in-describe to correctly detect describe calls (#196)
  • Fix no-setup-in-describe to work with arrow functions (#195)

Features

  • Implement no-return-from-async rule (#190)

Dependency Upgrades

  • Update dev dependencies (#199)

Build-Related

  • Add nodejs to travis build environments (#198)
eslint-plugin-mocha - 5.3.0

Published by lo1tuma over 5 years ago

Features

  • Implement no-async-describe rule (#188)
eslint-plugin-mocha - 5.2.1

Published by lo1tuma almost 6 years ago

Bug Fixes

  • Remove invalid test-cases and unreachable code from prefer-arrow-callback (#186)
  • Fix invalid syntax in test case (#182)

Documentation

  • Fixing typo (#184)
  • Replace warning with warn (#181)

Dependency Upgrades

  • Update dependencies (#187)
  • Update eslint-plugin-node to the latest version 🚀 (#173)
eslint-plugin-mocha - 5.2.0

Published by lo1tuma about 6 years ago

Enhancements

  • Prohibit tests in beforeEach etc. hook calls (#174)
eslint-plugin-mocha - 5.1.0

Published by lo1tuma over 6 years ago

Bug Fixes

  • Issue #166: No setup in describe hooks (#167)

Features

  • Adds mocha-aware prefer-arrow-callback rule (#163)

Dependency Upgrades

  • Update eslint-config-holidaycheck to version 0.13.1 (#170)
  • Update eslint to version 5.0.1 (#169)
  • Update nyc to version 12.0.2 (#168)

Build-Related

  • Add node 10 build environment (#171)
eslint-plugin-mocha - 5.0.0

Published by lo1tuma over 6 years ago

Breaking Changes

  • Remove support for ESLint versions < 4.0.0 (#155)
  • Remove support for nodejs 4, 5 and 7 (#154)

Dependency Upgrades

  • Update pr-log to the latest version 🚀 (#159)
  • Update chai to version 4.1.2 (#151)

Code Refactoring

  • Use new language features (#156)

Build-Related

  • Use nyc instead of istanbul (#153)
  • Whitelist files instead of using .npmignore (#152)
eslint-plugin-mocha - 4.12.1

Published by lo1tuma over 6 years ago

Bug Fixes

  • Fix: skip template strings in valid-test-description and valid-suite-description
eslint-plugin-mocha - 4.12.0

Published by lo1tuma over 6 years ago

Features

  • Adds rule "no setup in describe" (#147)

Dependency Upgrades

  • Update coveralls to the latest version 🚀 (#142)
  • chore(package): update mocha to version 5.0.1 (#150)
  • Update ramda to the latest version 🚀 (#144)

Bug Fixes

  • Fix complexity problems (#149)
eslint-plugin-mocha - 4.11.0

Published by lo1tuma over 7 years ago

Enhancements

  • Added support for async functions in no-synchronous-tests (#138)
eslint-plugin-mocha - 4.10.1

Published by lo1tuma over 7 years ago

Bug Fixes

  • don't drop support for eslint 3.x (#137)
eslint-plugin-mocha - 4.10.0

Published by lo1tuma over 7 years ago

Build-Related

  • Add node 8 to build environments (#135)

Enhancements

  • Support ESLint 4.x (#134)

Dependency Upgrades

  • Update ramda to the latest version 🚀 (#130)
  • Update pr-log to version 2.0.0 🚀 (#127)
eslint-plugin-mocha - 4.9.0

Published by lo1tuma over 7 years ago

Dependency Upgrades

  • Update ramda to version 0.23.0 🚀 (#121)

Enhancements

  • Add settings to support additional suite function names (#126)

Documentation

  • Organize alphabetically (#123)
eslint-plugin-mocha - 4.8.0

Published by lo1tuma almost 8 years ago

Enhancements

  • Support MemberExpression for additionalTestFunctions (#114)
  • Make no-mocha-arrows rule fixable (#112)

Bug Fixes

  • Fix no-mocha-arrow fixer (#118)

Build-Related

  • Add node 7 as travis build environment (#115)

Documentation

  • Fix rule name in CHANGELOG to match actual rule (#111)
eslint-plugin-mocha - 4.7.0

Published by lo1tuma about 8 years ago

Features

  • Add no-nested-tests rule (#109)
eslint-plugin-mocha - 4.6.0

Published by lo1tuma about 8 years ago

Documentation

  • Adds rule name to title for valid-suite-description documentation. (#107)
  • Adds rule name to title for valid-test-description documentation. (#106)

Features

  • Add 'one-suite-per-file' rule (#103) (#105)