Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rochejul/eslint-plugin-xunit
Eslint plugin for xunit tests
https://github.com/rochejul/eslint-plugin-xunit
eslint nodejs xunit
Last synced: 15 days ago
JSON representation
Eslint plugin for xunit tests
- Host: GitHub
- URL: https://github.com/rochejul/eslint-plugin-xunit
- Owner: rochejul
- License: mit
- Created: 2020-01-17T10:01:35.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T15:13:25.000Z (almost 2 years ago)
- Last Synced: 2024-04-26T09:21:37.190Z (7 months ago)
- Topics: eslint, nodejs, xunit
- Language: JavaScript
- Size: 337 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-plugin-xunit
Eslint plugin for xunit tests![npm](https://img.shields.io/npm/v/eslint-plugin-xunit)
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/rochejul/eslint-plugin-xunit)
[![GitHub license](https://img.shields.io/github/license/rochejul/eslint-plugin-xunit)](https://github.com/rochejul/eslint-plugin-xunit/blob/master/LICENSE)[![Build Status](https://travis-ci.org/rochejul/eslint-plugin-xunit.svg?branch=master)](https://travis-ci.org/rochejul/eslint-plugin-xunit)[![Dependency Status](https://david-dm.org/rochejul/eslint-plugin-xunit.svg)](https://david-dm.org/rochejul/eslint-plugin-xunit)
[![devDependency Status](https://david-dm.org/rochejul/eslint-plugin-xunit/dev-status.svg)](https://david-dm.org/rochejul/eslint-plugin-xunit#info=devDependencies)[![Known Vulnerabilities](https://snyk.io/test/github/rochejul/eslint-plugin-xunit/badge.svg)](https://snyk.io/test/github/rochejul/eslint-plugin-xunit)
[![NPM](https://nodei.co/npm/eslint-plugin-xunit.png?downloads=true&downloadRank=true)](https://nodei.co/npm/eslint-plugin-xunit/)
[![NPM](https://nodei.co/npm-dl/eslint-plugin-xunit.png?&months=6&height=3)](https://nodei.co/npm/eslint-plugin-xunit/)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
```js
{
// Instal the xunit plugin, please do:
// > npm install -g eslint-plugin-xunit
"plugins": [
"xunit"
],
"extends": [
"plugin:xunit/recommended"
]
}
```## Rules
* [xunit/api](./docs/rules/xunit-api.md)
* [xunit/async](./docs/rules/xunit-async.md)
* [xunit/data](./docs/rules/xunit-data.md)
* [xunit/fact](./docs/rules/xunit-fact.md)
* [xunit/fixture](./docs/rules/xunit-fixture.md)
* [xunit/skip](./docs/rules/xunit-skip.md)
* [xunit/trait](./docs/rules/xunit-trait.md)