eslint-config-streamr-nodejs

2.0.1 • Public • Published

eslint-config-streamr-nodejs

A shared eslint config between Streamr node.js projects. Extends eslint-config-airbnb-base with a few changes thrown in. See .eslintrc.js for the ruleset.

Usage

Setup

First install the package with

npm i -D eslint-config-streamr-nodejs

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-nodejs

-d is to install them as devDependencies

Config

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

{
  extends: 'eslint-config-streamr-nodejs'
}

OR use alias

{
  extends: 'streamr-nodejs'
}

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-streamr-nodejs

Weekly Downloads

13

Version

2.0.1

License

MIT

Unpacked Size

4.72 kB

Total Files

5

Last publish

Collaborators

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