Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 598 Bytes

CONTRIBUTING.md

File metadata and controls

14 lines (11 loc) · 598 Bytes

Code style guidelines

  • function name() { } for named functions
  • function(){ } for anonymous functions
  • No curly braces for single-line control flow statements such as if & friends
  • Don't write semicolons that are optional
  • Put a single semicolon before statements that start with ( or [ (see above article as for why it's needed)
  • Use long, descriptive variable and method names
  • Use blank lines to separate "paragraphs" of code for readability
  • Use comments to describe non-obvious code behavior