Socket
Socket
Sign inDemoInstall

@instea/eslint-config-node

Package Overview
Dependencies
4
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @instea/eslint-config-node

ESLint config for Node.js projects


Version published
Weekly downloads
5
increased by150%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

@instea/eslint-plugin-node

Default ESLint rules for Node.js projects.

Installation

yarn add --dev prettier eslint

yarn add --dev @instea/eslint-config-node

Usage

Extend from this plugin in eslint configuration:

{
  "extends": ["@instea/node"]
}

Create .prettierrc file with this content:

{
  "semi": true,
  "singleQuote": true,
  "printWidth": 80,
  "trailingComma": "es5",
  "arrowParens": "avoid"
}

Run eslint using yarn:

yarn eslint . --max-warnings 0

FAQs

Last updated on 18 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc