🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

eslint-config-pcp

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-pcp

## Usage

latest
npmnpm
Version
2.0.0-beta.3
Version published
Maintainers
1
Created
Source

eslint-config-pcp

Usage

Install

npm install eslint eslint-config-pcp

Create config file

With "type": "module" in package.json (recommended):

// eslint.config.js
import { buildConfig } from "eslint-config-pcp";

export default buildConfig();

With CJS:

// eslint.config.js
const { buildConfig } = require("eslint-config-pcp");

module.exports = buildConfig();

VS Code support

{
	"eslint.experimental.useFlatConfig": true,
	// For workspaces
	"eslint.workingDirectories": [
		{
			"mode": "auto"
		}
	]
}

FAQs

Package last updated on 02 Jan 2024

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