allegro / typescript-strict-plugin

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

Support for noUncheckedIndexedAccess #80

Open jukkahyv opened 1 month ago

jukkahyv commented 1 month 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 1 month 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 1 month 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.