Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-plugin-qunit

platinumazure349.1kMIT8.1.2

ESLint plugin containing rules useful for QUnit tests.

eslint, eslintplugin, eslint-plugin

readme

eslint-plugin-qunit

NPM version CI Coverage Status Join the chat at https://gitter.im/platinumazure/eslint-plugin-qunit

ESLint plugin containing rules useful for QUnit tests.

Configurations

You can extend from a configuration in order to simplify manual configuration of plugin rules in your project.

For more details on how to extend your configuration from a plugin configuration, please see the ESLint plugin configuration documentation.

| | Name | Description | | :--- | :--- | :--- | | ✅ | recommended | This configuration includes rules which I recommend to avoid QUnit runtime errors or incorrect behavior, some of which can be difficult to debug. Some of these rules also encourage best practices that help QUnit work better for you. For ESLint .eslintrc.js legacy config, extend from "plugin:qunit/recommended". For ESLint eslint.config.js flat config, load from require('eslint-plugin-qunit/configs/recommended'). |

Rules

💼 Configurations enabled in.\ ✅ Set in the recommended configuration.\ 🔧 Automatically fixable by the --fix CLI option.\ 💡 Manually fixable by editor suggestions.

Name Description 💼 🔧 💡
assert-args enforce that the correct number of assert arguments are used |
literal-compare-order enforce comparison assertions have arguments in the right order 🔧
no-arrow-tests disallow arrow functions as QUnit test/module callbacks | 🔧
no-assert-equal disallow the use of assert.equal | 💡
no-assert-equal-boolean require use of boolean assertions 🔧
no-assert-logical-expression disallow binary logical expressions in assert arguments |
no-assert-ok disallow the use of assert.ok/assert.notOk |
no-async-in-loops disallow async calls in loops |
no-async-module-callbacks disallow async module callbacks |
no-async-test disallow the use of asyncTest or QUnit.asyncTest |
no-commented-tests disallow commented tests |
no-compare-relation-boolean disallow comparing relational expressions to booleans in assertions 🔧
no-conditional-assertions disallow assertions within if statements or conditional expressions |
no-early-return disallow early return in tests |
no-global-assertions disallow global QUnit assertions |
no-global-expect disallow global expect |
no-global-module-test disallow global module/test/asyncTest |
no-global-stop-start disallow global stop/start |
no-hooks-from-ancestor-modules disallow the use of hooks from ancestor modules |
no-identical-names disallow identical test and module names |
no-init disallow use of QUnit.init |
no-jsdump disallow use of QUnit.jsDump |
no-loose-assertions disallow the use of assert.equal/assert.ok/assert.notEqual/assert.notOk |
no-negated-ok disallow negation in assert.ok/assert.notOk 🔧
no-nested-tests disallow nested QUnit.test() calls |
no-ok-equality disallow equality comparisons in assert.ok/assert.notOk 🔧
no-only disallow QUnit.only |
no-qunit-push disallow QUnit.push |
no-qunit-start-in-tests disallow QUnit.start() within tests or test hooks |
no-qunit-stop disallow QUnit.stop |
no-reassign-log-callbacks disallow overwriting of QUnit logging callbacks |
no-reset disallow QUnit.reset |
no-setup-teardown disallow setup/teardown module hooks 🔧
no-skip disallow QUnit.skip |
no-test-expect-argument disallow the expect argument in QUnit.test |
no-throws-string disallow assert.throws() with block, string, and message args |
require-expect enforce that expect is called |
require-object-in-propequal enforce use of objects as expected value in assert.propEqual |
resolve-async require that async calls are resolved

Contributors

Thanks goes to these wonderful people (emoji key):


Kevin Partington

💻 📖 ⚠️ 🐛 💡 👀

Jordan Eldredge

⚠️ 💬

Mitch Lloyd

💻 📖 ⚠️

John Mainz

⚠️ 🐛

Tobias Bieniek

💻 📖 ⚠️

Stephen Edgar

🐛

Timo Tijhof

📖 🤔

Ed S

🐛 💻

Brad Overton

🐛 💻

Shane Martin

🐛

ventuno

💻

Anne-Gaëlle Schall

🐛

Steve Calvert

💻

Aliaksandr Yermalayeu

💻

Bryan Mishkin

🐛 💻 📖 🤔

XhmikosR

🐛

Andrey Fel

🐛

Ray Cohen

🐛 💻

Baptiste Doucerain

💻

Darius Dzien

🚧

Derek Wickern

🐛 💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Semantic Versioning Policy

Like ESLint itself, this ESLint plugin follows semantic versioning. However, due to the nature of ESLint as a code quality tool, it's not always clear when a minor or major version bump occurs. To help clarify this for everyone, we've defined the following semantic versioning policy, based on the policy used by ESLint:

  • Patch release (intended not to break your lint build)
    • A bug fix in a plugin rule that results in ESLint reporting fewer errors.
    • Improvements to documentation.
    • Non-user-facing changes such as refactoring code; adding, deleting, or modifying tests; and increasing test coverage.
    • Re-releasing after a failed release (i.e., after having published a release that doesn't work for anyone).
  • Minor release (might break your lint build)
    • A bug fix in a rule that results in ESLint reporting more errors.
    • A new rule is created (without being added to plugin configuration).
    • A new option to an existing rule is created (without any default options changing).
    • A new plugin configuration is created.
    • An existing rule is deprecated.
  • Major release (likely to break your lint build)
    • An existing plugin configuration is changed in any way, including but not limited to:
      • A new rule is added to the configuration.
      • A rule is removed from the configuration.
      • The options used in configuration for a rule are changed
    • An existing rule is removed.
    • A backward-incompatible change is made to the options of a rule.

changelog

8.1.1 (2024-02-12)

Bug Fixes

  • remove disallowed description property from config (#476) (28804af)

8.1.0 (2024-02-11)

Features

Documentation

  • auto-generate configs list and some rule options lists with eslint-doc-generator (#416) (6fa0bdd)

Chores

8.0.1 (2023-10-07)

Bug Fixes

Documentation

  • fix default in doc for require-expect (#383) (a70ea57)

Chores

8.0.0 (2023-06-28)

⚠ BREAKING CHANGES

  • Require eslint@^8.38, drop support for eslint@7.x (#376)
  • change require-expect rule default option to never-except-zero (#375)
  • strictly define node API (#374)
  • drop support for Node 12, 14, 17, 19 (#373)

Features

Documentation

  • Correct GitHub access token variable name for releases (#277) (7a10cb4)

Chores

  • Add object-curly-newline to ESLint config (0f88ebe)
  • tweak release-it (#380) (85f2d53)
  • Update caniuse in lockfile to suppress warnings in npm test (a29c17e)
  • use ecmaVersion latest for eslint (#379) (e2c206e)
  • use node protocol for imports (#378) (4177030)

7.3.4 (2022-11-30)

Chore

  • Add @release-it/conventional-changelog (4e2f397)
  • Add CodeQL (#276) (908ed50), closes #276

Docs

  • Add missing changelog entry (3369a75)

Fix

  • false positives with arrow functions in no-hooks-from-ancestor-modules rule (#275) (abcb81e), closes #275

Upgrade

  • Bump @typescript-eslint/parser from 5.43.0 to 5.44.0 (#274) (b9c283c), closes #274
  • Bump eslint-doc-generator from 0.25.0 to 0.28.0 (#272) (98572d5), closes #272
  • Bump eslint-plugin-unicorn from 45.0.0 to 45.0.1 (#273) (672dfb5), closes #273

7.3.3

  • Chore: Add dependabot (#247) (d791740)
  • Chore: Add release-it (4ac96ab)
  • Chore: Remove npm upgrade step from CI (#264) (c27c2a2)
  • Chore: Tweak release-it (1e8c668)
  • Docs: Add missing word (#266) (64d6faa)
  • Update: no-hooks-from-ancestor-modules works with arrow module callbacks (#267) (f02b60f)
  • Upgrade: Bump @typescript-eslint/parser from 5.30.5 to 5.42.0 (#255) (61b2278)
  • Upgrade: Bump @typescript-eslint/parser from 5.42.0 to 5.43.0 (#265) (0529b29)
  • Upgrade: Bump all-contributors-cli from 6.20.0 to 6.24.0 (#250) (4900937)
  • Upgrade: Bump chai from 4.3.6 to 4.3.7 (#262) (3ba3eb7)
  • Upgrade: Bump eslint from 8.19.0 to 8.26.0 (#248) (9219d80)
  • Upgrade: Bump eslint from 8.26.0 to 8.27.0 (#259) (a9ca61c)
  • Upgrade: Bump eslint from 8.27.0 to 8.28.0 (#268) (7e19200)
  • Upgrade: Bump eslint-doc-generator from 0.16.0 to 0.19.0 (#251) (70f1b71)
  • Upgrade: Bump eslint-doc-generator from 0.19.0 to 0.19.1 (#261) (3d2b3fb)
  • Upgrade: Bump eslint-doc-generator from 0.19.1 to 0.25.0 (#269) (db8d797)
  • Upgrade: Bump eslint-plugin-eslint-plugin from 4.4.0 to 5.0.6 (#258) (bdb2254)
  • Upgrade: Bump eslint-plugin-markdown from 2.2.1 to 3.0.0 (#260) (e12cfe9)
  • Upgrade: Bump eslint-plugin-mocha from 10.0.5 to 10.1.0 (#256) (457260a)
  • Upgrade: Bump eslint-plugin-unicorn from 42.0.0 to 44.0.2 (#257) (beb4bf3)
  • Upgrade: Bump eslint-plugin-unicorn from 44.0.2 to 45.0.0 (#271) (163bfdf)
  • Upgrade: Bump markdownlint-cli from 0.31.1 to 0.32.2 (#252) (805fb67)
  • Upgrade: Bump mocha from 10.0.0 to 10.1.0 (#254) (3225f2e)
  • Upgrade: Bump semver from 7.3.7 to 7.3.8 (#253) (ec622e2)
  • Upgrade: Bump typescript from 4.7.4 to 4.8.4 (#249) (ed4fa87)
  • Upgrade: Bump typescript from 4.8.4 to 4.9.3 (#270) (84a9d56)

7.3.2

  • docs: add eslint-doc-generator (#243) (Bryan Mishkin)
  • Fix: Handle arrow function test with except-simple configuration of the require-expect rule (#239) (Bryan Mishkin)

7.3.1

  • Upgrade: Outdated devDependencies (Kevin Partington)
  • Build: Add caching to ESLint (#225) (Darius Dzien)
  • Fix: incorrectly-used messageId placeholders (#236) (Bryan Mishkin)
  • Upgrade: Bump shell-quote from 1.7.2 to 1.7.3 (#235) (dependabot[bot])

7.3.0

  • Docs: Update contributors list (Kevin Partington)
  • Upgrade: devDependencies (Kevin Partington)
  • Fix: no-compare-relation-boolean crash when passing <2 args (#234) (Derek Wickern)
  • Build: Add Node 18 to CI (#232) (Darius Dzien)
  • Fix: Allow for third parameter in no-hooks-from-ancestor-modules (#231) (Timo Tijhof)
  • Upgrade: Bump node-fetch from 2.6.1 to 2.6.7 (#229) (dependabot[bot])
  • Upgrade: Bump async from 3.2.0 to 3.2.3 (#228) (dependabot[bot])
  • Upgrade: Bump minimist from 1.2.5 to 1.2.6 (#227) (dependabot[bot])
  • Upgrade: Bump shelljs from 0.8.4 to 0.8.5 (#224) (dependabot[bot])
  • Docs: fix markdown links (#223) (Bryan Mishkin)

7.2.0

  • Upgrade: devDependencies (Kevin Partington)
  • Update: isQunitMethod utils function detects test.only/test.skip (#221) (Baptiste Doucerain)

7.1.0

  • Chore: Add jsdoc type annotation to rules (#219) (Bryan Mishkin)
  • Update: handle adding TypeScript type to this parameter in test hook in many rules (#217) (Bryan Mishkin)
  • Build: Move wrap/unwrap helpers to testUtils (#216) (Ed S)
  • Fix: Check for arrow functions in utils.getAssertContextNameForTest (#214) (Ed S)
  • Docs: ensure rule docs mention all rule options (#212) (Bryan Mishkin)

7.0.0

  • Chore: Add npm upgrade step to CI workflow (Kevin Partington)
  • Upgrade: Most devDependencies (Kevin Partington)
  • Upgrade: update eslint-plugin-eslint-plugin to v4 (#211) (Bryan Mishkin)
  • Upgrade: eslint-plugin-unicorn to v37 (#210) (Bryan Mishkin)
  • Update: support ESLint v8 (#209) (Bryan Mishkin)
  • Chore: Add eslint-plugin keyword in package.json (#204) (Bryan Mishkin)

7.0.0-rc.0

  • Breaking: Remove fixToNotOk and checkBooleanAssertions rule options (#197) (Bryan Mishkin)
  • Breaking: Add no-assert-equal to recommended config (#194) (Bryan Mishkin)
  • Breaking: Drop support for old Node and ESLint versions (#189) (Kevin Partington)
  • Breaking: Remove no-arrow-tests from recommended config (#200) (Kevin Partington)
  • Docs: switch from github emojis to standard emojis (#198) (Bryan Mishkin)
  • Docs: fix typos (#196) (Bryan Mishkin)

6.2.0

  • Chore: enable all eslint-plugin-eslint-plugin rules (#187) (Bryan Mishkin)
  • Docs: Indicate which rules provide automated suggestions in README rules table (#188) (Bryan Mishkin)
  • Update: Use meta.hasSuggestions for suggestable rules to prepare for ESLint 8 (#186) (Bryan Mishkin)
  • Docs: split emojis into separate columns in README rules table (#185) (Bryan Mishkin)

6.1.1

  • Upgrade: devDependencies (Kevin Partington)
  • Fix: fix global equal() check in no-assert-equal rule (#183) (Bryan Mishkin)
  • Chore: add eslint-plugin-mocha (#184) (Bryan Mishkin)

6.1.0

  • Update: add checkBooleanAssertions option to no-ok-equality rule (#173) (Bryan Mishkin)
  • Chore: Add eslint-plugin-unicorn (#180) (Bryan Mishkin)
  • Update: add checkBooleanAssertions option to no-negated-ok rule (#174) (Bryan Mishkin)
  • Fix: handle typed this callback argument in no-hooks-from-ancestor-modules rule (#162) (Bryan Mishkin)
  • Build: start testing under Node 16 (#181) (Bryan Mishkin)
  • Update: Ensure boolean assertions are not missed by several rules (#172) (Bryan Mishkin)
  • Chore: add eslint-plugin-eslint-comments (#178) (Bryan Mishkin)
  • Docs: enable/autofix indent rule in markdown JS code samples (#177) (Bryan Mishkin)
  • Docs: Add eslint-plugin-markdown for JavaScript code samples in documentation (#176) (Bryan Mishkin)
  • Upgrade: Bump y18n from 4.0.0 to 4.0.1 (#163) (dependabot[bot])
  • Update: add automatic suggestions for no-assert-equal rule (#165) (Bryan Mishkin)
  • Fix: only flag callee node instead of entire call expression in no-hooks-from-ancestor-modules rule (#160) (Bryan Mishkin)
  • Docs: fix typo of deepEqual assert name in require-object-in-propequal rule doc (#166) (Bryan Mishkin)

6.0.0

  • Upgrade: chai, mocha, eslint, markdownlint to latest (Kevin Partington)
  • Chore: Uncomment ES2020 tests in require-object-in-propequal (#159) (Kevin Partington)
  • Breaking: add more recommended rules for v6 (#157) (Bryan Mishkin)
  • Breaking: merge two config into recommended config (#155) (Bryan Mishkin)
  • Breaking: update require-expect rule to default to expect-simple option (#158) (Bryan Mishkin)
  • Breaking: update fixToNotOk rule option default to true in no-compare-relation-boolean rule (#154) (Bryan Mishkin)
  • Breaking: update fixToNotOk rule default option to true in no-negated-ok rule (#153) (Bryan Mishkin)
  • Breaking: drop Node 13 support (#152) (Bryan Mishkin)
  • Chore: require eslint 6+ as peer dependency (#151) (Bryan Mishkin)

5.4.0

  • New: no-async-module-callbacks rule (#147) (#150) (Ray Cohen)
  • New: require-object-in-propequal rule (#148) (Kevin Partington)
  • New: no-hooks-from-ancestor-modules rule (fixes #93) (#94) (Ray Cohen)
  • Build: Run against Node 15 in CI (Kevin Partington)
  • Upgrade: devDependencies (Kevin Partington)

5.3.0

  • Fix: requireindex usage when this plugin is referenced from other plugins (#144) (Bryan Mishkin)
  • Update: fix detection of test-less modules in no-identical-names rule (#146) (Bryan Mishkin)
  • Build: Add Windows to CI testing matrix (#145) (Bryan Mishkin)
  • Fix: false positive for tests in different modules in no-identical-names rule (#143) (Bryan Mishkin)
  • Docs: add npm badge to README (#141) (Bryan Mishkin)
  • Chore: Use requireindex to ensure correct rule files are exported (Kevin Partington)
  • Build: Run CI on all pushed branches (Kevin Partington)

5.2.0

  • Upgrade: devDependencies (#140) (Kevin Partington)
  • Fix: allow tests with identical names in different modules in no-identical-names rule (#131) (Bryan Mishkin)
  • Docs: add rule descriptions to README table (#139) (Bryan Mishkin)

5.1.1

  • Upgrade: Bump ini from 1.3.5 to 1.3.7 (#137) (dependabot[bot])
  • Docs: enable eslint-plugin/require-meta-docs-description lint rule to enforce consistent rule descriptions (#133) (Bryan Mishkin)
  • Chore: add type properties to rules and enforce with eslint-plugin/require-meta-type lint rule (#134) (Bryan Mishkin)
  • Fix: only detect true global usages in no-global-* rules (#132) (Bryan Mishkin)

5.1.0

  • Build: Fix lint:docs script to work on bash (Kevin Partington)
  • Docs: Update contributor list (#128) (Kevin Partington)
  • Update: catch duplicate titles in ancestor modules in no-identical-names rule (#127) (Bryan Mishkin)
  • New: add new rule no-assert-equal-boolean (#121) (Bryan Mishkin)
  • Docs: add markdownlint (#115) (Bryan Mishkin)
  • Fix: false positives with no-identical-names and nested modules (#123) (Bryan Mishkin)
  • Update: Add 'qunit' plugin to configs (#124) (Bryan Mishkin)
  • Docs: add rule doc URL to rules (#125) (Bryan Mishkin)
  • Build: add CI checks to ensure tests pass on supported ESLint versions (#116) (Bryan Mishkin)
  • Chore: Upgrade devDependencies to latest (#119) (Kevin Partington)
  • Build: Update lcov location in coveralls action (#118) (Kevin Partington)
  • Build: switch from travis to Github Actions (#117) (Bryan Mishkin)
  • Update: allow eslint peer dependency to include v6 and v7 (#113) (Bryan Mishkin)
  • Docs: fix broken rules link in README (#111) (Bryan Mishkin)

5.0.0

  • Breaking: Update plugin:qunit/recommended config (fixes #86) (Kevin Partington)
  • Build: Fix yarn reference in test script (Kevin Partington)
  • Docs: Update contributor list (Kevin Partington)
  • Fix: resolve-async recognizes .call/.apply (fixes #68) (Kevin Partington)
  • Upgrade: devDependencies to latest (Kevin Partington)
  • Breaking: Drop support for Node 6, 8, and 11 (Kevin Partington)
  • Docs: add config notices to each rule doc (#107) (Bryan Mishkin)
  • Docs: add autogenerated rules table to README (#110) (Bryan Mishkin)
  • Update: add autofixer to no-negated-ok rule (#100) (Bryan Mishkin)
  • Build: add npm-run-all for running lint scripts (#109) (Bryan Mishkin)
  • Docs: add fixable notice to rule doc of autofixable rules (#106) (Bryan Mishkin)
  • Update: add autofixer to no-compare-relation-boolean rule (#102) (Bryan Mishkin)
  • Chore: Add tests to ensure rules have tests and basic rule doc (#105) (Bryan Mishkin)
  • Fix: allow message arguments to have logical expressions in no-assert-logical-expression rule (#104) (Bryan Mishkin)
  • Fix: no-compare-relation-boolean did not report violations when assertion message was passed (#103) (Bryan Mishkin)
  • Update: add autofixer to no-setup-teardown rule (#101) (Bryan Mishkin)
  • Update: add autofixer to no-ok-equality rule (#99) (Bryan Mishkin)
  • Update: add autofixer to literal-compare-order rule (#98) (Bryan Mishkin)
  • Fix: crash when missing assert arguments in literal-compare-order rule (#97) (Bryan Mishkin)
  • New: Add "no-nested-tests" rule (#96) (Aliaksandr Yermalayeu)

4.3.0

  • Upgrade: Bump lodash from 4.17.11 to 4.17.19 (#91) (dependabot[bot])
  • New no-loose-assertions rule. (#80) (ventuno)
  • Chore: Use outdent for multiline test cases (#89) (Ed S)
  • Update: Add a fixer for no-arrow-tests (#88) (Ed S)
  • Docs: Remove unsupported all-contributors badge (Kevin Partington)

4.2.0

  • Fix: literal-compare-order crash on BDD-style assertions (fixes #74) (Kevin Partington)
  • Chore: Add eslint-plugin-eslint-plugin devDependency (fixes #85) (Kevin Partington)
  • New rule: no-skip (#81) (Steve Calvert)

4.1.0

  • Docs: Add more contributors (Kevin Partington)
  • Upgrade: Bump acorn from 6.3.0 to 6.4.1 (#83) (dependabot[bot])
  • Upgrade: Bump eslint-utils from 1.3.1 to 1.4.3 (#82) (dependabot[bot])
  • Docs: Add contributors (Kevin Partington)
  • Fix: require-expect handles implicit body arrow functions correctly (fixes #76) (Kevin Partington)
  • Chore: Improve unit test (Kevin Partington)
  • Build: Add Node 12, 13, and 14 to Travis config (Kevin Partington)
  • Upgrade: Upgrade devDependencies (semver-minor only) (Kevin Partington)
  • Build: Add package-lock.json (Kevin Partington)
  • New: Implement new rule no-assert-ok (#78) (ventuno)
  • Update: Improve no-only rule to detect only() module.only() and QUnit.module.only() (#73) (Brad Overton)
  • Fix: Fix typo in no-test-expect-argument (#71) (Ed S)

4.0.0

  • Upgrade: coveralls, eslint, nyc, semver to latest (Kevin Partington)
  • Chore: Convert all rules to use messageIds (Kevin Partington)
  • Breaking: Drop support for Node 4/7/9 and ESLint <4.15 (Kevin Partington)

3.3.1

  • Chore: Declare compatibility with eslint@5.x (Kevin Partington)
  • Chore: Upgrade devDependencies (Kevin Partington)
  • Chore: Removing unused eslint disable comments (Kevin Partington)

3.3.0

  • Chore: Disable package-lock (Kevin Partington)
  • Chore: Add support/testing for Node 10 (Kevin Partington)
  • New: "never" and "never-except-zero" options for require-expect rule (#70) (Timo Tijhof)
  • Chore: Test with Node 8 and 9 (Kevin Partington)
  • Chore: Switch to nyc for unit tests and code coverage (Kevin Partington)

3.2.1

  • Upgrade: devDependencies (Kevin Partington)
  • Docs: Add Krinkle to all-contributors (Kevin Partington)
  • Docs: Fix heading syntax for no-assert-equal (#66) (Timo Tijhof)

3.2.0

  • Chore: ESLint peerDependency expanded to >=3.18.0 <5.0.0 (Kevin Partington)
  • Fix: no-commented-tests does not warn on shebang comments (Kevin Partington)
  • Chore: Upgrade devDependencies, including eslint@4.x (Kevin Partington)
  • Chore: Use sourceCode.getAllComments() in no-commented-tests (fixes #64) (Kevin Partington)

3.1.0

  • Docs: Updating config rule lists in README to match reality (fixes #60) (Kevin Partington)
  • Docs: Adding ntwb to contributor list (Kevin Partington)
  • Update: no-identical-names message references line number (fixes #62) (Kevin Partington)

3.0.0

  • Update: Using ESLint AST selectors in some rules (fixes #59) (Kevin Partington)
  • Breaking: Updating eslint peerDependency to >=3.18.0 (refs #59) (Kevin Partington)
  • Upgrade: devDependencies to latest version (Kevin Partington)
  • Chore: Enable template-curly-spacing ESLint rule (fixes #54) (Kevin Partington)
  • Chore: Enable prefer-template ESLint rule (refs #54) (Kevin Partington)
  • Chore: Enable prefer-const ESLint rule (refs #54) (Kevin Partington)
  • Chore: Enabling no-const-assign ESLint rule (refs #54) (Kevin Partington)
  • Chore: Enable no-var ESLint rule (refs #54) (Kevin Partington)
  • Chore: Fix whitespace in ESLint configuration (Kevin Partington)
  • Chore: Consume eslint-plugin-node (Kevin Partington)
  • Breaking: engines set in package.json (node >=4.0.0) (Kevin Partington)
  • Breaking: Updating exported configs (fixes #52, fixes #58) (Kevin Partington)
  • Chore: Ensuring rules etc. are sorted in index.js (Kevin Partington)
  • Docs: Fixing indentation in no-qunit-start-in-tests docs (fixes #55) (Kevin Partington)

2.4.0

  • Docs: Fixing indentation in no-qunit-start-in-tests docs (Kevin Partington)
  • Docs: Add Turbo87 to project contributor list (Kevin Partington)
  • New: Add "no-identical-names" rule (fixes #56) (#57) (Tobias Bieniek)

2.3.0

  • Chore: Ensure .md files have LF line endings (Kevin Partington)
  • Chore: Updating Travis config, dropping Node 5 and adding Node 7 (Kevin Partington)
  • Chore: Enabling ESLint rule no-useless-return (Kevin Partington)
  • New: no-qunit-start-in-tests rule (fixes #51) (Kevin Partington)
  • Upgrade: eslint@~3.10.2, fixing resulting lint error (Kevin Partington)
  • Upgrade: eslint@^3.8.1, adding some new rules (Kevin Partington)
  • New: no-conditional-assertions rule (fixes #46) (Kevin Partington)
  • Fix: README rules links no longer use dot prefix (fixes #53) (Kevin Partington)

2.2.0

  • Build: Fixed extraneous output in generate-release-changelog (Kevin Partington)
  • New: no-assert-logical-expression rule (fixes #50) (Kevin Partington)
  • Fix: no-early-return crash when return statement was outside test (Kevin Partington)
  • Fix: no-early-return handles nested scopes (fixes #48) (Kevin Partington)
  • Docs: Add limitations section to assert-args docs (fixes #49) (Kevin Partington)

2.1.1

  • Fix: no-throws-string exception (fixes #47) (Kevin Partington)

2.1.0

  • Fix: Added missing test case to no-early-return (Kevin Partington)
  • Chore: Allowing ESLint ^2.8.0 or 3.x as peer dependency (fixes #45) (Kevin Partington)
  • New: no-early-return rule (fixes #27) (Kevin Partington)

2.0.1

  • Docs: Add no-throws-string to qunit/two, qunit/recommended in README (Kevin Partington)
  • Build: Removing iojs from .travis.yml (Kevin Partington)

2.0.0

  • Breaking: Adding no-throws-string to qunit/two and qunit/recommended (Kevin Partington)
  • Upgrade: devDependencies to latest. (Kevin Partington)

1.1.0

  • Docs: Using flat shields.io badge for "all contributors" (Kevin Partington)
  • New: no-throws-string rule (fixes #43) (Kevin Partington)
  • New: no-compare-relation-boolean rule (fixes #17) (Kevin Partington)
  • Docs: Added semver policy to README (fixes #42) (Kevin Partington)

1.0.0

  • Docs: Clarify how to extend plugin configuration in README (#41) (Kevin Partington)
  • Docs: Update README with info about shareable configs (fixes #39) (Kevin Partington)
  • New: no-test-expect-argument rule (fixes #40) (Kevin Partington)

1.0.0-rc0

  • New: Added shareable configs "two" and "recommended" (fixes #33) (Kevin Partington)
  • Breaking: Removing rulesConfig from plugin exports (Kevin Partington)
  • Chore: Transformed rules into new-style ESLint rules (fixes #34) (Kevin Partington)
  • Chore: Update peerDependency: eslint@^2.8.0 (fixes #32) (Kevin Partington)
  • Fix: require-expect only report one error per test (fixes: #35) (Mitch Lloyd)

0.9.1

  • Build: Fix generate-release-changelog after removing shelljs global (Kevin Partington)
  • Build: Using double quotes to escape test exclusion glob (Kevin Partington)
  • Build: Quote excluded fileset pattern for istanbul (#37) (Mitch Lloyd)
  • Build: Dropping Node 0.12 and adding Node 6 to .travis.yml (Kevin Partington)
  • Build: Require Unix-style line endings (Kevin Partington)
  • Build: Ensuring LF is used in the repository via .gitattributes (Kevin Partington)
  • Docs: Added captbaritone as a contributor (Kevin Partington)
  • Docs: Adding Contributors section to README using all-contributors (Kevin Partington)
  • Build: Upgrade ESLint to latest, add some new rules (Kevin Partington)
  • Upgrade: coveralls, istanbul, mocha, shelljs to latest (Kevin Partington)
  • Build: Tweaking npm script commands for readability (Kevin Partington)

0.9.0

  • Fix: no-negated-ok checks negation depth before reporting (fixes #31) (Kevin Partington)
  • Fix: no-negated-ok no longer flags global ok (fixes #30) (Kevin Partington)
  • New: no-qunit-stop rule (fixes #20) (Kevin Partington)
  • New: no-qunit-push rule (refs #20) (Kevin Partington)
  • New: no-jsdump rule (refs #20) (Kevin Partington)
  • New: no-reassign-log-callbacks rule (refs #20) (Kevin Partington)
  • New: no-global-stop-start rule (refs #20) (Kevin Partington)
  • New: no-init rule (refs #20) (Kevin Partington)

0.8.0

  • Build: generate-release-changelog is now a version hook (Kevin Partington)
  • New: no-reset rule (refs #20) (Kevin Partington)
  • Fix: Adding rule schemas to rules which did not have schemas (Kevin Partington)
  • New: no-setup-teardown rule (refs #20) (Kevin Partington)
  • New: no-negated-ok rule (fixes #28) (Kevin Partington)
  • Docs: Add Gitter badge (Kevin Partington)
  • Upgrade: eslint@2.7.0, also added the new rules to .eslintrc.json (Kevin Partington)
  • Docs: Adding rule summary to README. (Kevin Partington)
  • New: no-global-expect rule (Kevin Partington)
  • Build: Very basic test to check for rule documentation (Kevin Partington)

0.7.0

  • Build: Add generate-release-changelog script as postversion hook (Kevin Partington)
  • New: no-async-test rule (refs #20) (Kevin Partington)
  • Docs: Fix header of no-global-module-test (Kevin Partington)
  • Build: Ensure unit tests are run with all sources instrumented (Kevin Partington)
  • New: no-global-module-test rule (refs #20) (Kevin Partington)
  • Update: no-global-assertions doesn't need to track test context (Kevin Partington)
  • Update: resolve-async now checks module hooks (fixes #4) (Kevin Partington)
  • Docs: Removed merge commit from changelog (Kevin Partington)
  • Docs: Update changelog for 0.6.0 (Kevin Partington)

0.6.0

  • Upgrade: devDependencies to latest stable (Kevin Partington)
  • New: no-arrow-tests rule (fixes #24) (Kevin Partington)
  • New: require-expect rule (fixes #23) (Mitch Lloyd)
  • Build: Updating .travis.yml (Kevin Partington)

0.5.0

  • Build: Enable some ESLint rules available in eslint@2.0.0 (Kevin Partington)
  • Upgrade: eslint@^2.2.0 (Kevin Partington)
  • New: literal-compare-order rule (fixes #19) (Kevin Partington)
  • Build: Enabling many ESLint rules. (Kevin Partington)
  • Upgrade: eslint@^1.10.0 (Kevin Partington)

0.4.0

  • New: no-global-assertions rule (refs #20) (Kevin Partington)
  • Fix: MemberExpression properties no longer falsely flagged as assertions (Kevin Partington)
  • Build: Adding no-undef and no-warning-comments to .eslintrc. (Kevin Partington)
  • Fix: Avoid object prototype props being flagged as assertions in assert-args (Kevin Partington)
  • Fix: assert-args allows any node type for message. (Kevin Partington)
  • Fix: assert-args AssertionError if CallExpression found outside test (Kevin Partington)
  • New: assert-args rule (fixes #10) (Kevin Partington)

0.3.1

  • Fix: no-assert-equal assertion error fixed (fixes #16) (Kevin Partington)
  • New: Unit tests for index.js to ensure rules are exported and configured (Kevin Partington)

0.3.0

  • New: Adding rule no-only (fixes #11) (Kevin Partington)
  • Fix: no-async-in-loops uses correct assert var in message (fixes #13) (Kevin Partington)
  • New: no-assert-equal (fixes #8) (Kevin Partington)
  • Update: Specifying eslint@>=1.3.0 as peerDependency (Kevin Partington)

0.2.0

  • Added default rule configuration for no-ok-equality. (Kevin Partington)
  • New: Added rule no-commented-tests. (fixes #9) (Kevin Partington)
  • Adding no-console and no-debugger rules to .eslintrc. (Kevin Partington)
  • Update: Enhanced rule error messages for no-ok-equality. (fixes #7) (Kevin Partington)
  • New: no-ok-equality rule. (refs #7) (Kevin Partington)
  • Updating mocha-lcov-reporter devDependency. (Kevin Partington)
  • Upgrading Mocha. (Kevin Partington)
  • Upgrading some of the devDependencies. (Kevin Partington)
  • Adding coveralls badge (Kevin Partington)
  • Fixing typo (Kevin Partington)
  • First attempt at Coveralls.io integration (Kevin Partington)

0.1.2-pre

  • Adding build status and devDependency badges (Kevin Partington)
  • Added docs (Kevin Partington)

0.1.1

  • Removing private field from package.json (Kevin Partington)
  • Adding preversion and postversion scripts (Kevin Partington)

0.1.1-pre

  • Consuming ESLint 1.x and using included RuleTester (Kevin Partington)
  • Removing before_install to attempt to fix possible version conflict (Kevin Partington)
  • First pass at .travis.yml config. (Kevin Partington)
  • Fixed logic error in start semaphore count handling. (Kevin Partington)
  • no-async-in-loops now respects test's assertion context variable (Kevin Partington)
  • Created utils module to improve code reusability. (Kevin Partington)
  • Added rule no-async-in-loops. (Kevin Partington)
  • Specifying files in package.json (Kevin Partington)
  • Adding check-coverage script to npm test (Kevin Partington)
  • One more test for full coverage. (Kevin Partington)
  • Adding istanbul ignore comments where coverage is not needed on else branches. (Kevin Partington)
  • Using istanbul cover instead of istanbul test. (Kevin Partington)
  • Ensuring resolve-async respects stop()/start() semaphore delta argument. (Kevin Partington)
  • Add support for assertion contexts declared as something besides "assert". (Kevin Partington)
  • Defensive checks and tests around expressions which occur outside of test context. (Kevin Partington)
  • Cleaning up stop()/start() error message for singular case. (Kevin Partington)
  • Unit tests for multiple assert.async() callbacks. (Kevin Partington)
  • More unit tests for multiple stop() calls. (Kevin Partington)
  • Unit tests for QUnit.start/QUnit.stop. (Kevin Partington)
  • Adding VariableDeclarator logic and more unit tests. (Kevin Partington)
  • Added npm-debug.log to .gitignore (Kevin Partington)
  • First pass at resolve-async rule. Needs more test coverage. (Kevin Partington)
  • Adding eslint config files. (Kevin Partington)
  • Added .gitignore file. (Kevin Partington)
  • Adding package.json. (Kevin Partington)
  • Initial commit (Kevin Partington)