closing_brace - ApplebaumIan/BitbucketAPI GitHub Wiki

Closing Brace Spacing

Closing brace with closing parenthesis should not have any whitespaces in the middle.

  • Identifier: closing_brace
  • Enabled by default: Enabled
  • Supports autocorrection: Yes
  • Kind: style
  • Analyzer rule: No
  • Minimum Swift compiler version: 3.0.0
  • Default configuration: warning

Non Triggering Examples

[].map({ })
[].map(
  { }
)

Triggering Examples

[].map({ ↓} )
[].map({ ↓}	)