Socket
Socket
Sign inDemoInstall

eslint-config-dwt

Package Overview
Dependencies
197
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-dwt

eslint-config-dwt =============


Version published
Weekly downloads
10
increased by900%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

eslint-config-dwt

DWT lint config that extends Standard.

Installation

yarn

yarn add eslint-config-dwt --dev

npm

npm install --save-dev eslint-config-dwt

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

To use the configuration in an empty project, first install it:

yarn add eslint eslint-config-dwt --dev
# or...
npm install --save-dev eslint eslint-config-dwt

Then, add this to your .eslintrc config

{
  "extends": "dwt"
}

Lastly, to ease the use of eslint, add this to the scripts section of your package.json

"lint": "eslint '**/*.js' --ignore-path .gitignore"

Keywords

FAQs

Last updated on 15 May 2019

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