Skip to content

Latest commit

 

History

History

brackets-braces

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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