npm package: @odczynflnpm/repudiandae-beatae-sunt
Description: [![NPM version](https://img.shields.io/npm/v/@odczynflnpm/repudiandae-beatae-sunt.svg?style=flat)](https://npmjs.org/package/@odczynflnpm/repudiandae-beatae-sunt) ![CI](https://github.com/odczynflnpm/repudiandae-beatae-sunt/workflows/CI/badge.svg) [![Cove
Author: odczynFL
Latest version: 1.0.0

# @odczynflnpm/repudiandae-beatae-sunt

[![NPM version](https://img.shields.io/npm/v/@odczynflnpm/repudiandae-beatae-sunt.svg?style=flat)](https://npmjs.org/package/@odczynflnpm/repudiandae-beatae-sunt)
![CI](https://github.com/odczynflnpm/repudiandae-beatae-sunt/workflows/CI/badge.svg)
[![Coverage Status](https://coveralls.io/repos/platinumazure/@odczynflnpm/repudiandae-beatae-sunt/badge.svg?branch=main&service=github)](https://coveralls.io/github/platinumazure/@odczynflnpm/repudiandae-beatae-sunt?branch=main)
[![Join the chat at https://gitter.im/platinumazure/@odczynflnpm/repudiandae-beatae-sunt](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/platinumazure/@odczynflnpm/repudiandae-beatae-sunt?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

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](https://eslint.org/docs/user-guide/configuring#using-the-configuration-from-a-plugin).

| | 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('@odczynflnpm/repudiandae-beatae-sunt/configs/recommended')`. |

## Rules

<!-- begin auto-generated rules list -->

💼 [Configurations](https://github.com/odczynflnpm/repudiandae-beatae-sunt/blob/main/README.md#configurations) enabled in.\
✅ Set in the `recommended` [configuration](https://github.com/odczynflnpm/repudiandae-beatae-sunt/blob/main/README.md#configurations).\
🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).\
💡 Manually fixable by [editor suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).

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

<!-- end auto-generated rules list -->

## Contributors

Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tr>
    <td align="center"><a href="https://github.com/platinumazure"><img src="https://avatars.githubusercontent.com/u/284282?v=3?s=100" width="100px;" alt=""/><br /><sub><b>Kevin Partington</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=platinumazure" title="Code">💻</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=platinumazure" title="Documentation">📖</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=platinumazure" title="Tests">⚠️</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/issues?q=author%3Aplatinumazure" title="Bug reports">🐛</a> <a href="#example-platinumazure" title="Examples">💡</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/pulls?q=is%3Apr+reviewed-by%3Aplatinumazure" title="Reviewed Pull Requests">👀</a></td>
    <td align="center"><a href="https://jordaneldredge.com"><img src="https://avatars.githubusercontent.com/u/162735?v=3?s=100" width="100px;" alt=""/><br /><sub><b>Jordan Eldredge</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=captbaritone" title="Tests">⚠️</a> <a href="#question-captbaritone" title="Answering Questions">💬</a></td>
    <td align="center"><a href="https://github.com/mitchlloyd"><img src="https://avatars.githubusercontent.com/u/15169?v=3?s=100" width="100px;" alt=""/><br /><sub><b>Mitch Lloyd</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=mitchlloyd" title="Code">💻</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=mitchlloyd" title="Documentation">📖</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=mitchlloyd" title="Tests">⚠️</a></td>
    <td align="center"><a href="https://github.com/jmainz"><img src="https://avatars.githubusercontent.com/u/6665906?v=3?s=100" width="100px;" alt=""/><br /><sub><b>John Mainz</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=jmainz" title="Tests">⚠️</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/issues?q=author%3Ajmainz" title="Bug reports">🐛</a></td>
    <td align="center"><a href="https://github.com/Turbo87"><img src="https://avatars1.githubusercontent.com/u/141300?v=3?s=100" width="100px;" alt=""/><br /><sub><b>Tobias Bieniek</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=Turbo87" title="Code">💻</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=Turbo87" title="Documentation">📖</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=Turbo87" title="Tests">⚠️</a></td>
    <td align="center"><a href="https://twitter.com/netweb"><img src="https://avatars1.githubusercontent.com/u/1016458?v=3?s=100" width="100px;" alt=""/><br /><sub><b>Stephen Edgar</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/issues?q=author%3Antwb" title="Bug reports">🐛</a></td>
    <td align="center"><a href="https://timotijhof.net"><img src="https://avatars3.githubusercontent.com/u/156867?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Timo Tijhof</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=Krinkle" title="Documentation">📖</a> <a href="#ideas-Krinkle" title="Ideas, Planning, & Feedback">🤔</a></td>
  </tr>
  <tr>
    <td align="center"><a href="https://github.com/edg2s"><img src="https://avatars3.githubusercontent.com/u/180672?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ed S</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/issues?q=author%3Aedg2s" title="Bug reports">🐛</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=edg2s" title="Code">💻</a></td>
    <td align="center"><a href="https://github.com/Techn1x"><img src="https://avatars1.githubusercontent.com/u/1049837?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Brad Overton</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/issues?q=author%3ATechn1x" title="Bug reports">🐛</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=Techn1x" title="Code">💻</a></td>
    <td align="center"><a href="https://sha.nemart.in"><img src="https://avatars3.githubusercontent.com/u/95600?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Shane Martin</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/issues?q=author%3Ashamrt" title="Bug reports">🐛</a></td>
    <td align="center"><a href="https://github.com/ventuno"><img src="https://avatars3.githubusercontent.com/u/5890858?v=4?s=100" width="100px;" alt=""/><br /><sub><b>ventuno</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=ventuno" title="Code">💻</a></td>
    <td align="center"><a href="https://github.com/Krysthalia"><img src="https://avatars0.githubusercontent.com/u/38167520?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Anne-Gaëlle Schall</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/issues?q=author%3AKrysthalia" title="Bug reports">🐛</a></td>
    <td align="center"><a href="https://www.linkedin.com"><img src="https://avatars2.githubusercontent.com/u/180990?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Steve Calvert</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=scalvert" title="Code">💻</a></td>
    <td align="center"><a href="https://github.com/aliaksandr-yermalayeu"><img src="https://avatars3.githubusercontent.com/u/14282348?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Aliaksandr Yermalayeu</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=aliaksandr-yermalayeu" title="Code">💻</a></td>
  </tr>
  <tr>
    <td align="center"><a href="https://www.linkedin.com/in/bmish"><img src="https://avatars3.githubusercontent.com/u/698306?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Bryan Mishkin</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/issues?q=author%3Abmish" title="Bug reports">🐛</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=bmish" title="Code">💻</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=bmish" title="Documentation">📖</a> <a href="#ideas-bmish" title="Ideas, Planning, & Feedback">🤔</a></td>
    <td align="center"><a href="https://xhmikosr.io/"><img src="https://avatars2.githubusercontent.com/u/349621?v=4?s=100" width="100px;" alt=""/><br /><sub><b>XhmikosR</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/issues?q=author%3AXhmikosR" title="Bug reports">🐛</a></td>
    <td align="center"><a href="https://github.com/andreyfel"><img src="https://avatars2.githubusercontent.com/u/9370878?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andrey Fel</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/issues?q=author%3Aandreyfel" title="Bug reports">🐛</a></td>
    <td align="center"><a href="https://github.com/raycohen"><img src="https://avatars.githubusercontent.com/u/20404?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ray Cohen</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/issues?q=author%3Araycohen" title="Bug reports">🐛</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=raycohen" title="Code">💻</a></td>
    <td align="center"><a href="https://github.com/DBattou"><img src="https://avatars.githubusercontent.com/u/16645938?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Baptiste Doucerain</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=DBattou" title="Code">💻</a></td>
    <td align="center"><a href="https://github.com/ddzz"><img src="https://avatars.githubusercontent.com/u/3535749?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Darius Dzien</b></sub></a><br /><a href="#maintenance-ddzz" title="Maintenance">🚧</a></td>
    <td align="center"><a href="https://github.com/dwickern"><img src="https://avatars.githubusercontent.com/u/752885?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Derek Wickern</b></sub></a><br /><a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/issues?q=author%3Adwickern" title="Bug reports">🐛</a> <a href="https://github.com/odczynflnpm/repudiandae-beatae-sunt/commits?author=dwickern" title="Code">💻</a></td>
  </tr>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

<!-- markdownlint-disable line-length -->

This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!

## Semantic Versioning Policy

Like ESLint itself, this ESLint plugin follows [semantic versioning](https://semver.org). 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.