google / google/go-jsonnet

Odd formatting choice for multiline functions' closing parenthesis

Open
#636 1 comment 0 reactions 0 assignees View on GitHub
bug formatter
Dominant language
Go
Stars
1.8k
Forks
263
PR merge metrics
No merged PRs in 30d

Description

If I create a jsonnet file with:
```jsonnet
local asd(
x=1
) = {
hello: x,
};
asd(x=4)
```

It gets auto-formatted to:
```jsonnet
local asd(
x=1
) = {
hello: x,
};
asd(x=4)
```

Which is really weird.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.