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.
tslint-log is stable and tested on Linux and Windows.
No special dependencies - just TypeScript
and of course tslint
.
- a custom tslint rule that logs out the path to each visited TypeScript file
npm install tslint-log
Edit your tslint.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...
}
}
site | URL |
---|---|
source code (github) | https://github.com/mrseanryan/tslint-log |
npm | https://www.npmjs.com/package/tslint-log |
see the contributing readme.
Original work by Sean Ryan - mr.sean.ryan(at gmail.com)
This project is licensed under the MIT License - see the LICENSE file for details