eslint-config-signals
v0.0.1
Published
ESlint config used at Signals Network
Downloads
2
Maintainers
Readme
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"]
};