Skip to content

Custom tslint rule that logs out all visited source code files. Use for diagnosing tslint configuration.

License

Notifications You must be signed in to change notification settings

mrseanryan/tslint-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📃 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.

Size

Dependencies Dev Dependencies

npm Package NPM Downloads

styled with prettier

License: MIT Donate

dependencies

No special dependencies - just TypeScript 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 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...
    }
}

sites

site URL
source code (github) https://github.com/mrseanryan/tslint-log
npm https://www.npmjs.com/package/tslint-log

developing code in this repository

see the contributing readme.

authors

Original work by Sean Ryan - mr.sean.ryan(at gmail.com)

licence = MIT

This project is licensed under the MIT License - see the LICENSE file for details

About

Custom tslint rule that logs out all visited source code files. Use for diagnosing tslint configuration.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published