Open danikaze opened 6 years ago
@danikaze , configFile
option is used to specify tslint configuration and tsConfigFile
is used to specify custom tsconfig.json
- typescript configuration.
These 2 options server for different purpose and I think it will be wrong to mix them.
Do you have any issue you're trying to fix with you PR?
Documentation in
README.md
says that the customtsconfig.json
is read by thetsConfigFile
option, but it doesn't work because the code is trying to get it fromconfigFile
field of the options.Enabled the
tsConfigFile
without changing the current one to provide compatibility with previous versions, but follow the documentation.The
tsconfig.json
file is needed for rules that need type check, so it's something necessary to have working.