Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
deprecate --type-check #3322
Overview of change:
We should remove it in v6.0
Is there anything you'd like reviewers to focus on?
[deprecation] CLI argument
@chrismbarr type checking and enabling typed rules is not the same thing:
Type checking does a full check of your entire project to find compile errors before the actual linting is done. It does not affect the lint result. This is deprecated now and will be removed in a future release. Type checking should be done by the compiler, not TSLint.
Typed rules are not enabled by default. Technically that's not possible. But you only need
Yes, that's what I meant - thanks! To be fair though a "typed rule" was enabled with a CLI flag named
But this is a good change, I like it. 1 flag to enable this feature instead of 2 is much better.
referenced this pull request
Oct 26, 2017
Just following up on this... I am running
Per advice in this PR, I have removed the
"tslint": "tslint --project ./tsconfig.json",
The issue I now have is that in VS Code no longer highlights type errors.
I realise that
I have done some searching, but not yet found a solution... any ideas?
Thanks in advance.