Closed TatsuyaYamamoto closed 1 year ago
Yeah, I understand the tension here, but I think that including allowJs
would be surprising for people.
Saying you want a stricter typescript environment shouldn't suddenly start expanding the scope of your project to include a bunch of files which are normally not included. I allowed checkJs because whenever you do choose to do that, by adding allowJs
, you should have them checked
So thanks for the PR, but I'm afraid I'll politely decline
Currently
bases/strictest.json
hascheckJs: true
, but doesn't haveallowJs: true
andcheckJs
doesn't work.https://github.com/microsoft/TypeScript/issues/21435#issuecomment-361757612