personium / personium-core

Core module of Personium
https://personium.io
Apache License 2.0
88 stars 16 forks source link

set `insert_space_before_closing_brace_in_array_initializer` as "do not insert" in formatter.xml #611

Closed yoh1496 closed 2 years ago

yoh1496 commented 3 years ago

https://github.com/personium/personium-core/blob/4f210419aeee7341b6731a13dd6ca16acbdb6bd0/formatter.xml#L250

This rule make {someValue} to {someValue }.

How about set as do not insert

yoh1496 commented 2 years ago

In codes, almost array initialization are written in this style:

{ item0, item1 }

example: https://github.com/personium/personium-core/blob/develop/src/test/java/io/personium/test/io/auth/AuthHistoryLastFileTest.java#L62

So, I think it should be modified with making insert_space_after_opening_brace_in_array_initializer be insert.