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
I'm would like to have documentation on rules about consistent spacing. I had a file containing a line similar to
console.log({arr: [{a: 'aa'},{a: 'bb'}]})
which is not consistently spaced, appearently. I changed it to
console.log({arr: [{a: 'aa'},{a: 'bb'}]})
which still didn't work. Then wondered, if "consistent" meant "consistent across the project/file/statement".
Finally I found out that the following examples work
The best thing would be to have the formatter correct those errors automatically based on the initial spacing. Second best would be documentation with a few example about what is allowed and what isn't.
The text was updated successfully, but these errors were encountered:
I'm would like to have documentation on rules about consistent spacing. I had a file containing a line similar to
which is not consistently spaced, appearently. I changed it to
which still didn't work. Then wondered, if "consistent" meant "consistent across the project/file/statement".
Finally I found out that the following examples work
The best thing would be to have the formatter correct those errors automatically based on the initial spacing. Second best would be documentation with a few example about what is allowed and what isn't.
The text was updated successfully, but these errors were encountered: