https://eslint.org/docs/rules/eqeqeq#smart
Even better is to just use TypeScript.
I imagine it is fine. If it was just myself developing I would be fine, but the insufferable junior devs that learned "=== or die" rear their ugly heads.
https://eslint.org/docs/rules/eqeqeq#smart
Even better is to just use TypeScript.