Skip to content

Latest commit

 

History

History

eslint-config-node

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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'],
}