4.0.1 • Published 5 years ago
@blockone/tslint-config-blockone v4.0.1
tslint-config-blockone
Block.one ts linting configuration
Run the following to get started
npm
> npm install --save-dev tslint
> npm install --save-dev @blockone/tslint-config-blockone
yarn
> yarn add --dev tslint
> yarn add --dev @blockone/tslint-config-blockone
Add the following to your .tslintrc or .tslint.json
{
"extends": [
"@blockone/tslint-config-blockone/tslint-config"
]
}
Add a script to your package.json for linting
{
"scripts": {
"lint" : "tslint -c tslint.json -p tsconfig.json"
}
}