1.3.1 • Published 4 years ago
eslint-config-streamr v1.3.1
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-streamrThen 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'
}