Socket
Book a DemoInstallSign in
Socket

@ww-digital/eslint-config

Package Overview
Dependencies
Maintainers
43
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ww-digital/eslint-config

ESlint config file for WWI

1.1.1
latest
npmnpm
Version published
Maintainers
43
Created
Source

@ww-digital/eslint-config

Requirements

  • eslint 4.x is a dependency, so make sure your project doesn't already have a conflicting version

Install

  • From the root of your project, run:

    npm i -D @ww-digital/eslint-config
    
  • Add this to your package.json in the scripts section:

    "eslint": "eslint ./"
    
  • Add this .eslintrc file to the root of your project:

    {
      "extends": "@ww-digital/eslint-config/nodejs",
      "rules": {}
    }
    

    ** You may substitute angularjs for nodejs

  • Then you can simply run:

    npm run eslint
    

Modifying rules

You can add rules specific to your project in the .eslintrc file that was created in the root of your project.

Keywords

eslint

FAQs

Package last updated on 19 Oct 2018

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.