Skip to content

Files

Latest commit

6b12e91 · May 2, 2018

History

History

brackets-braces

Brackets and braces

  • Opening braces should always be placed at the end of the line
  • Closing braces should always be placed at the start of their own line
  • One level of indentation should be applied within, and only within, the braces
  • Conditionals within brackets should not gain extra indentation when breaking onto separate lines
  • Never leave conditional statements unbraced or unindented