eslint-plugin-uvu
v0.1.1
Published
ESLint plugin for uvu
Downloads
11
Readme
eslint-plugin-uvu
ESLint plugin for uvu.
Installation
This package is available on the NPM registry.
Install eslint-plugin-uvu
using your favortite package manager.
Usage
Enable the plugin in the plugins
section, and configure rules according to your preference.
{
"plugins": ["uvu"],
"rules": {
"uvu/prefer-is-for-primitives": "error"
}
}
Rules
| Rule ID | Description | Recommended | Fixable |
| ------- | ----------- | :---------: | :-----: |
| uvu/no-identical-titles | Enforce each test case to have a unique title. | | |
| uvu/prefer-is-for-primitives | Prefer is
to equal
for assertions against primitive literals. | | |
License
This package is distributed under the MIT License. See LICENSE.md for details.