🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

eslint-config-devsu-node

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-devsu-node

Devsu's ESLint shareable configs for node applications.

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
2
Created
Source

eslint-config-devsu-node (deprecated)

Devsu's ESLint shareable configs for node applications.

Deprecated

This module is now deprecated, this configurations will be available through the package eslint-config-devsu extending devsu/node config.

Usage

Add eslint and eslint-config-devsu-node to devDependencies in your package.json:

npm install --save-dev eslint eslint-config-devsu-node

In your project root, create/edit .eslintrc:

{
  "extends": "devsu-node"
}

Change in package.json your run script to add a lint property:

...
"scripts": {
  "lint": "eslint ."
},
...

Try our rules by running:

npm run lint

Overriding rules

To override a particular rule, use the rules key:

{
  "extends": "devsu-node",
  "rules": {
    "comma-dangle": "off"
  }
}

Keywords

eslint

FAQs

Package last updated on 18 May 2017

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