Question

I have Visual Studio 2013 (update 2) with Web Essentials 2013.

Every time I open files like lib.d.ts, TsLint starts to run and takes a long time to then finally spam my messages full. I don't want any messages telling me to fix stuff in files that aren't mine.

Is it possible to exclude these files? Or at least stop TsLint from running every time I open a file? Or tell TsLint not to run on files that aren't in my solution?

Was it helpful?

Solution

The next time you open a file you don't want tslint to process add the following to the top:

/* tslint:disable */

This will disable linting for that file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top