allegro / typescript-strict-plugin

Typescript plugin that allows turning on strict mode in specific files or directories.
MIT License
338 stars 29 forks source link

Support for noUncheckedIndexedAccess #80

Open jukkahyv opened 3 months ago

jukkahyv commented 3 months ago

In our project, we already have strict = true. However, I would like to enable noUncheckedIndexedAccess gradually. This setting is not included in TS "strict" mode.

Would it be possible to use this plugin to set noUncheckedIndexedAccess so that it's an IDE error, but not compile time error?

KostkaBrukowa commented 3 months ago

In the current state: no. In the plugin part (so IDE part) we are currently only setting strict flag to check in the file. If you would like this feature, contributions are welcome, but for now we won't to this for ourselves, but in general the idea is really nice

jukkahyv commented 3 months ago

All right. Thank you for your response. I understand. Thanks for the great plugin, it was really useful when we didn't have strict = true.