1 # block-opening-brace-newline-after
3 Require a newline after the opening brace of blocks.
9 * The newline after this brace */
12 This rule allows an end-of-line comment followed by a newline. For example,
15 a { /* end-of-line comment */
20 Refer to [the FAQ](../../../docs/user-guide/faq.md#how-do-i-disallow-single-line-blocks) for more information on using this rule with [`block-opening-brace-newline-before`](../block-opening-brace-newline-before/README.md) to disallow single-line rules.
24 `string`: `"always"|"always-multi-line"|"never-multi-line"`
28 There *must always* be a newline after the opening brace.
30 The following patterns are considered violations:
42 a{ /* end-of-line comment
48 The following patterns are *not* considered violations:
62 a { /* end-of-line comment */
67 ### `"always-multi-line"`
69 There *must always* be a newline after the opening brace in multi-line blocks.
71 The following patterns are considered violations:
78 The following patterns are *not* considered violations:
89 ### `"never-multi-line"`
91 There *must never* be whitespace after the opening brace in multi-line blocks.
93 The following patterns are considered violations:
100 The following patterns are *not* considered violations: