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 on the fence. I always write it with curlies. But as long as the curlies can only be omitted when it is on the same line, I have no objection. I would not be surprised if I come to love it over time ;)
(derived from #9688 (comment))
To satisfy the
github/array-foreach
ESLint rule, #9688 is changing lines likeinto
However, I believe it would be nice to preserve the brevity of the former:
This is currently not allowed in agoric-sdk (although it is in endo, cf. encodePassable.js/arb-passable.js/etc.), but we could enable it by adding
curly: ["error", "multi-line"]
ESLint configuration.The text was updated successfully, but these errors were encountered: