Skip to content

Files

Latest commit

831d8e4 · Jun 5, 2024

History

History

eslint-config-node

Eslint Config Node

eslint shareable config to help you identify and report on patterns found in your code in Node applications.

Plugins

This configuration uses the following plugins:

  • @linters/eslint-config
  • eslint-plugin-node
  • eslint-plugin-security

Install

$ yarn add eslint eslint-plugin-import @linters/eslint-config-node -D

Usage

The shareable config can be configured in the eslint configuration file:

Create a .eslintrc.js file with the following contents:

module.exports = {
  extends: ['@linters/eslint-config-node'],
}