:pagewithcurl: tslint-log readme
A custom tslint rule that logs out all visited source code files.Use to diagnose tslint configuration, to see that expected files are being linted.
status - stable
tslint-log is stable and tested on Linux and Windows.dependencies
No special dependencies - justTypeScript
and of course tslint
.features
- a custom tslint rule that logs out the path to each visited TypeScript file
usage
1 Install via npm (or yarn) into your TypeScript project
npm install tslint-log
2 Configure tslint to pick up the custom rule
Edit yourtslint.json
to have an entry "rulesDirectory"
that points to tslint-log.Normally this would be like:
{
"rulesDirectory": "node_modules/tslint-log/dist/lib",
"rules": {
"tslLog": true
// more tslint rules here...
}
}