2.0.1 • Published 3 years ago

eslint-config-streamr-nodejs v2.0.1

Weekly downloads
1,707
License
MIT
Repository
github
Last release
3 years ago

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

3 years ago

2.0.0

3 years ago

1.3.0

4 years ago

1.1.0

5 years ago

1.0.0

5 years ago