eslint-config-signals

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i eslint-config-signals

Weekly Downloads

2

Version

0.0.1

License

ISC

Unpacked Size

3.57 kB

Total Files

4

Last publish

Collaborators

  • pavelvolek