eslint-config-streamr

1.3.1 • Public • Published

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'
}

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-streamr

Weekly Downloads

282

Version

1.3.1

License

UNLICENSED

Unpacked Size

5.58 kB

Total Files

5

Last publish

Collaborators

  • samigabor
  • fonty1
  • hpihkala
  • tumppi
  • harbu
  • mariusz_io
  • pzsavola
  • juslesan
  • jtakalai
  • streamr-dev
  • teogeb
  • samt1803
  • aapzu