If you're going to use electron and all the bad that comes with it, why not just use typescript though?
Any Javascript devs will probably hate working like that because now they're forced to write types for absolutely every single thing, but to me it felt like Javascript was finally fixed.
Just banning things like "any" and enforcing proper nullability makes up for a lot of Javascript problems.
- setup linting (which is awful and annoying) - formatting - use typescript
and then maybe u have a usable work environment. Rust just does that out of the box.
Even with Typescript you're dealing with the disastrous state of NPM/configuration/linters/formatters/libraries -- all of which are firmly Javascript-esque plagues (though not exclusively Javascript plagues).