Open busyscout opened 5 years ago
Your question applies to all tslint rules that use type checking. I do not know the exact answer, but I guess it should work as long as tslint is able to use the proper version of typescript to analyze the source files. Maybe you can tell the CLI to use the locally installed typescript. Anyways, you should look for the answer in TSLint.
Is it possible to run this rule in CLI when base and dependent classes are in different projects? We have base project with common logic and several dependent projects (though TS 3.0 feature - project reference). So, base and dependent classes are in different typescript projects. In VS2017 this rule works fine. But I don't understand is it possible to check it with CLI. In TSLint CLI you can use only one project in --project argument. But in this case referenced projects are not used and I get a lot of false errors, that my override methods do not correspond to any base class. If I don't use --project argument I get warning that this rule requires type checking and I should use --project arg.