@totvs/thf-tslint
Version:
THF Lint for TSLint
35 lines (25 loc) • 615 B
Markdown
# thf-tslint
Package with lint rules used in the (THF) Totvs HTML Framework.
## INSTALL
```
npm i --save-dev @totvs/thf-tslint
```
## USAGE
To apply lint rules used in THF projects you should, after installing the package, add the following lines of code in the `tslint.json` file, found at the root of your project.
```
"extends": [
"@totvs/thf-tslint"
]
```
Your file should look like this:
```
{
"extends": [
"@totvs/thf-tslint"
],
"rules": {
// your personal rules.
}
}
```
For more informations [Starting with thf-tslint](https://thf.totvs.com.br/guides/getting-started-thf-tslint).