Cor4zon / eslint-plugin-uvu

ESLint plugin for uvu

Home Page:https://www.npmjs.com/package/eslint-plugin-uvu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-plugin-uvu

test version code style: prettier license

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.

Contribution

When you add a new lint rule, please run npm run new-rule. This will scaffold source, test, and documentation files.

License

This package is distributed under the MIT License. See LICENSE.md for details.

About

ESLint plugin for uvu

https://www.npmjs.com/package/eslint-plugin-uvu

License:MIT License


Languages

Language:TypeScript 85.7%Language:Handlebars 9.3%Language:JavaScript 4.6%Language:Shell 0.4%