Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/munierujp/eslint-plugin-node-test
ESLint plugin for Node.js's test runner (node:test module)
https://github.com/munierujp/eslint-plugin-node-test
Last synced: about 1 month ago
JSON representation
ESLint plugin for Node.js's test runner (node:test module)
- Host: GitHub
- URL: https://github.com/munierujp/eslint-plugin-node-test
- Owner: munierujp
- License: mit
- Created: 2024-05-17T02:18:27.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-30T05:31:44.000Z (2 months ago)
- Last Synced: 2024-11-16T23:35:19.237Z (about 2 months ago)
- Homepage: https://www.npmjs.com/package/eslint-plugin-node-test
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> [!WARNING]
> This package is currently under development.[![npm version](https://badge.fury.io/js/eslint-plugin-node-test.svg)](https://badge.fury.io/js/eslint-plugin-node-test)
# eslint-plugin-node-test
ESLint plugin for [Node.js's test runner](https://nodejs.org/api/test.html) (`node:test` module)
## Requirements
- Node.js v20 or later
- ESLint v8## Installation
npm:
```sh
npm i -D eslint-plugin-node-test
```Yarn:
```sh
yarn add -D eslint-plugin-node-test
```pnpm:
```sh
pnpm add -D eslint-plugin-node-test
```## Usage
Add `plugin:node-test/recommended` to the `extends` section of your [ESLint configuration file](https://eslint.org/docs/latest/use/configure/configuration-files-deprecated).
JavaScript:
```javascript
module.exports = {
extends: [
'plugin:node-test/recommended'
]
}
```YAML:
```yaml
extends:
- plugin:node-test/recommended
```JSON:
```json
{
"extends": [
"plugin:node-test/recommended"
]
}
```