sashab
2017/01/23 05:26:41
Can we run a formatter over these? So they look mo
Can we run a formatter over these? So they look more like:
{
metadata: {
namespace: ...
},
data: [
...
]
}
I wonder if there's a way to add the formatter to git cl format, as well.
ktyliu
2017/01/23 06:33:42
I couldn't find a formatter that would automatical
On 2017/01/23 at 05:26:41, sashab wrote:
> Can we run a formatter over these? So they look more like:
>
> {
> metadata: {
> namespace: ...
> },
> data: [
> ...
> ]
> }
>
> I wonder if there's a way to add the formatter to git cl format, as well.
I couldn't find a formatter that would automatically do this completely.
Closest I found is using `js-beautify --indent-size=2 --brace-style=expand` but
that would result in:
metadata:
{
namespace: ...,
}
Used that formatter and maually fixed the "metdata: {"
Issue 2638233002: Convert make_names and make_event_factory to use json5 config format.
(Closed)
Created 3 years, 11 months ago by ktyliu
Modified 3 years, 10 months ago
Reviewers: Mike West, sashab
Base URL:
Comments: 4