Socket
Socket
Sign inDemoInstall

eslint-config-streamr

Package Overview
Dependencies
8
Maintainers
18
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-streamr


Version published
Maintainers
18
Created

Readme

Source

eslint-config-streamr (react)

A shared eslint config between Streamr react js projects. Has rules considering es6, react and flow. Extends eslint-config-airbnb, but has some other rules on top of that. Please see .eslintrc.js for the ruleset.

Usage

Setup

First install the package with

npm i -D eslint-config-streamr

Then install the peer dependencies. The easiest way to do this is with npx (npm > 5.2.0):

npx install-peerdeps [-d] eslint-config-streamr

-d is to install them as devDependencies

Config

In your .eslintrc.json (or .js) file you must extend eslint-config-streamr:

{
  extends: 'eslint-config-streamr'
}

OR use alias

{
  extends: 'streamr'
}

Keywords

FAQs

Last updated on 17 Nov 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc