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
In collections, it's possible to keep a trailing comma in the end:
letarray=[1,2,3,]
I've seen people that like this pattern (because the last line wouldn't change in a diff if another item is added later) and people who don't (because it's an extra unneeded symbol).
We could have a configuration so both styles (they're exclusive) could be validated in the same rule.
The text was updated successfully, but these errors were encountered:
In collections, it's possible to keep a trailing comma in the end:
I've seen people that like this pattern (because the last line wouldn't change in a diff if another item is added later) and people who don't (because it's an extra unneeded symbol).
We could have a configuration so both styles (they're exclusive) could be validated in the same rule.
The text was updated successfully, but these errors were encountered: