Skip to content

munierujp/eslint-plugin-node-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

This package is currently under development.

npm version

eslint-plugin-node-test

ESLint plugin for Node.js's test runner (node:test module)

Requirements

  • Node.js v20 or later
  • ESLint v8

Installation

npm:

npm i -D eslint-plugin-node-test

Yarn:

yarn add -D eslint-plugin-node-test

pnpm:

pnpm add -D eslint-plugin-node-test	

Usage

Add plugin:node-test/recommended to the extends section of your ESLint configuration file.

JavaScript:

module.exports = {
  extends: [
    'plugin:node-test/recommended'
  ]
}

YAML:

extends: 
- plugin:node-test/recommended

JSON:

{
  "extends": [
    "plugin:node-test/recommended"
  ]
}