You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah it does, it's one of those "use catiously" rules.
I usually like to run the rules by themselves and git diff after each fix run. Nowadays I'm using eslint --fix though, it's still a good workflow for any auto-fix tooling like codemods.
Example:
origin:
var i = 0;while (i < 10){console.log(i++);}
OUTPUT:
0,1,2,3,4,5,6,7,8,9
after fixmyjs:
var i = 0;while (i < 10){console.log(i += 1);}
OUTPUT:
1,2,3,4,5,6,7,8,9,10
The text was updated successfully, but these errors were encountered: