eslint-config-streamr-nodejs
v2.0.1
Published
eslint-config standard to be used in Streamr's node.js projects
Downloads
47
Readme
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'
}