4.1.0 • Published 2 years ago

eslint-config-streamr-ts v4.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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

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

Resources

Rules for eslint-plugin-promise and their reasoning

4.1.0

2 years ago

4.0.1

3 years ago

4.0.0

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.0.0

3 years ago