Is that possible to lint entire folder using tslint?
Using eslint it is possible to do eslint ./src to validate whole folder.
When i try to do
If your project has a tsconfig.json you can aproach --project advange.
In my case I have a nativescript project wich includes a tsconfig.json at project root, so I have this:
Note that in the json 'node_modules' and 'platforms' directories are excluded. This means that all files in the project are going to be mapped except 'node_modules' and 'platforms' directories.
I have added this scripts at my package.json, 'tslint' to log the errors and 'tslint-fix' to fix the errors.
"scripts": {
"tslint": "tslint -p tsconfig.json",
"tslint-fix": "tslint --fix -p tsconfig.json"
}