Hacker News new | ask | show | jobs
by nigma1337 1307 days ago
I've been using SonarLint[0] for a while for this, as it not only finds code smells, but also if i do things in a weird way, like doing for(i=0;i>array.length-1;i++){console.log(arrray[i]} instead of just doing for(const element of array).

[0]: https://www.sonarsource.com/products/sonarlint/