Socket
Socket
Sign inDemoInstall

eslint-config-streamr

Package Overview
Dependencies
Maintainers
18
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-streamr

Combined eslint-config to be used in all streamr js projects


Version published
Weekly downloads
82
decreased by-77.84%
Maintainers
18
Weekly downloads
 
Created
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

Package 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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc