13 ms·
Here’s some relevant discussion about some of the footguns: https://github.com/typescript-eslint/typescript-eslint/issues/7160 https://github.com/typescript-es
by 0xfffafaCrash 1y ago
Here’s some relevant discussion about some of the footguns:
https://github.com/typescript-eslint/typescript-eslint/issues/7160 https://github.com/typescript-eslint/typescript-eslint/issue...
https://github.com/tc39/proposal-explicit-resource-management/issues/159 https://github.com/tc39/proposal-explicit-resource-managemen...
I imagine there will eventually be lint rules for this somewhere and many of those using such a modern feature are likely to be using static analysis via eslint to help mitigate the risks here, but until it’s more established and understood and lint rules are fleshed out and widely adopted, there is risk here for sure.
https://github.com/typescript-eslint/typescript-eslint/issues/8255 https://github.com/typescript-eslint/typescript-eslint/issue...
To me it seems a bit like popular lint libraries just going ahead and adding the rule would make a big difference here