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
With indent: 2 in config, the following code produces some undesirable indent warnings:
if(console&&console.log)console.log({name: 'Daniel',// Expected 'name' to have an indentation at 5 instead at 3height: 5.8// Expected 'height' to have an indentation at 5 instead at 3});// Expected '}' to have an indentation at 3 instead at 1
I prefer the above style over either of the following (which don't cause errors):
With
indent: 2
in config, the following code produces some undesirable indent warnings:I prefer the above style over either of the following (which don't cause errors):
The text was updated successfully, but these errors were encountered: