@ethereumjs/config-tslint

1.1.1 • Public • Published

@ethereumjs/config-tslint

Common linting configuration for EthereumJS libraries.

Tool: TSLint

Supported Version: ^5.12.0

Exposed CLI commands:

  • ethereumjs-config-tslint
  • ethereumjs-config-tslint-fix
  • ethereumjs-config-lint
  • ethereumjs-config-lint-fix

Usage

Add tslint.json:

{
  "extends": "@ethereumjs/config-tslint"
}

Use CLI commands above in package.json:

  "scripts": {
    "tslint": "ethereumjs-config-tslint",
    "tslint-fix": "ethereumjs-config-tslint-fix",
    "lint": "ethereumjs-config-lint",
    "lint-fix": "ethereumjs-config-lint-fix"
  }

Readme

Keywords

none

Package Sidebar

Install

npm i @ethereumjs/config-tslint

Weekly Downloads

39

Version

1.1.1

License

MIT

Unpacked Size

2.07 kB

Total Files

7

Last publish

Collaborators

  • acolytec3
  • g11tech
  • axic
  • holgerd77