1.1.1 • Published 6 years ago
@ethereumjs/config-tslint v1.1.1
@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"
}