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.
Вопрос
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?
Решение
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.