Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-postman

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-postman

Common ESLint rules for Postman

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
137
decreased by-36.87%
Maintainers
1
Weekly downloads
 
Created
Source

Common ESLint rules for Postman

Installation

npm install --save-dev eslint-config-postman

Configuration

Update the .eslintrc in the project root as follows:

{
  "root": true,
  "extends": "postman"
}

Usage

Only make these changes if you want to remove ESLint as a direct dependency.

CLI

No changes needed!

Programmatic

Replace require('eslint') with require('eslint-config-postman/node_modules/eslint') More details: https://eslint.org/docs/developer-guide/nodejs-api

Cleanup

If you're not using additional plugins, prune nested config files with:

find . -name .eslintrc -type f -mindepth 2 -delete;

Optional

This is recommended to abstract plugin specifics away into one config bundle Skip this if you're using ESLint as a CLI, or if you're using other plugins in addition to those covered by this config

npm uninstall eslint eslint-plugin-jsdoc eslint-plugin-lodash eslint-plugin-mocha eslint-plugin-node eslint-plugin-security

Keywords

FAQs

Package last updated on 08 Nov 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc