Socket
Book a DemoInstallSign in
Socket

eslint-plugin-dwc

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-dwc

Create the file `.eslint.json` in your root folder and add the following configuration, depending on your application or package.

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
226
182.5%
Maintainers
1
Weekly downloads
 
Created
Source

Usage

Create the file .eslint.json in your root folder and add the following configuration, depending on your application or package.

You can use one or multiple of these, for example, in a React app that uses TypeScript and Jest, you'd use the following config:

{
  "root": true,
  "extends": [
    "plugin:dwc/typescript",
    "plugin:dwc/react",
    "plugin:dwc/reacttsx",
    "plugin:dwc/jest",
    "plugin:dwc/recommended"
  ],
}

JavaScript / Base

{
  "extends": "plugin:dwc/recommended"
}

TypeScript

{
  "extends": "plugin:dwc/typescript"
}

React

{
  "extends": "plugin:dwc/react"
}

React with TypeScript

{
  "extends": "plugin:dwc/reacttsx"
}

Jest

{
  "extends": "plugin:dwc/jest"
}

Mocha

{
  "extends": "plugin:dwc/mocha"
}

FAQs

Package last updated on 05 Nov 2025

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