Every TypeORM project I've worked on grows the same few dangerous lines. I got tired of catching them by hand, so I wrote a linter that does it for me.
I was reviewing a pull request a while back and nearly scrolled past this line:
await manager.query(`SELECT * FROM users WHERE id = ${req.params.id}`);
Enter fullscreen mode
Exit fullscreen mode






