ESLint plugin for uvu.
This package is available on the NPM registry.
Install eslint-plugin-uvu
using your favortite package manager.
Enable the plugin in the plugins
section, and configure rules according to your preference.
{
"plugins": ["uvu"],
"rules": {
"uvu/prefer-is-for-primitives": "error"
}
}
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. |
When you add a new lint rule, please run npm run new-rule
.
This will scaffold source, test, and documentation files.
This package is distributed under the MIT License. See LICENSE.md for details.