0.0.1 • Published 6 years ago

eslint-config-signals v0.0.1

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
6 years ago

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"]
};