tact-lang / tact-docs

Tact main documentation
https://docs.tact-lang.org
40 stars 36 forks source link

feat: trailing commas #224

Closed novusnota closed 1 month ago

novusnota commented 1 month ago

Closes #164

novusnota commented 1 month ago

Oh, okay, that's reasonable. I'll try to leave explicit mentions of them on contract, functions and expressions pages and remove implicit usage elsewhere. Thinking of leaving them be for with lists though, but maybe not.

UPD: Came up with a consistent formatting approach — just match Dart's style, which is, implicitly, your recommendation as well. Trailing commas imply separate line formatting, while not having them keeps stuff on the same line.

anton-trunov commented 1 month ago

@novusnota I updated the list of checks for the linter issue: https://github.com/tact-lang/tact/issues/295

novusnota commented 1 month ago

Awesome!