eslint-config-streamr-ts
v7.0.0
Published
eslint-config standard to be used in Streamr's TypeScript projects
Readme
eslint-config-streamr-ts
A shared eslint config between Streamr TypeScript projects. See
.eslintrc.js for the ruleset.
Usage
Setup
First install the package with
npm i -D eslint-config-streamr-tsThen install the peer dependencies. The easiest way to do this is with npx (npm > 5.2.0):
npx install-peerdeps [-d] eslint-config-streamr-ts-d is to install them as devDependencies
Config
In your .eslintrc.json (or .js) file you must extend eslint-config-streamr-ts:
{
extends: 'eslint-config-streamr-ts'
}OR use alias
{
extends: 'streamr-ts'
}Release
git checkout mastergit pull- Increase the version number in
package.json npm install- Commit changes
npm publishgit push
