🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

eslint-config-signals

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-signals

ESlint config used at Signals Network

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

ESlint Config Signals

ESlint) config used at Signals Network.

Installation

npm install --save-dev eslint-config-signals

Usage

Currently, two configs are provided: signals for general JavaScript and signals/react for React-specific rules.

In your project's .eslintrc.js, use the extends property to specify which config should be used.

Server-side Example

module.exports = {
  env: { node: true },
  extends: "signals"
};

Client-side example

module.exports = {
  env: { browser: true, node: true },
  extends: ["signals", "signals/react"]
};

Keywords

eslint

FAQs

Package last updated on 20 May 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