1

How to configure spotless google formatter to format braces in 2 lines instead of a single line

-    void contextLoads() {}
+    void contextLoads() {
+    }
Rpj
  • 5,348
  • 16
  • 62
  • 122

1 Answers1

1

You can't. From google-java-format's README:

Note: There is no configurability as to the formatter's algorithm for formatting. This is a deliberate design decision to unify our code formatting on a single format.

jqno
  • 15,133
  • 7
  • 57
  • 84