Oops, I made a mistake and ended up with some pretty subpar code.
Initially, I meant to write this:
let a = 0;
...
a = 2;
Instead of assigning to a
, however, I mistakenly used double equals sign =
let a = 0;
...
a == 2;
I am aware that it is technically valid in javascript and typescript, but it seems unnecessary and confusing. Are there eslint rules available to prevent these kind of empty statements?