Skip to content

rochejul/eslint-plugin-xunit

Repository files navigation

eslint-plugin-xunit

Eslint plugin for xunit tests

npm GitHub tag (latest by date) GitHub license

Build StatusDependency Status devDependency Status

Known Vulnerabilities

NPM NPM

This plugin ensures good usage of the xunit framework

Install it

Globally

npm install --global eslint-plugin-xunit

In your project

npm install --save --save-exact eslint-plugin-xunit

Configure your eslintrc file

Here an example of configuration which uses the plugin

{
  // Instal the xunit plugin, please do:
  // > npm install -g eslint-plugin-xunit
  "plugins": [
    "xunit"
  ],
  "extends": [
    "plugin:xunit/recommended"
  ]
}

Rules