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.
Contributors
Thanks goes to these wonderful people (emoji key):
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.