Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Hive JS coding style guide

Wei Lu edited this page May 16, 2014 · 1 revision

Syntax

  • Do away with semicolons
  • Do away with trailing white spaces
  • require everything on top of the file

prefer

var foo = 1
var bar = 2

over

var foo = 1,
    bar = 2;

General

  • Refactor & extract over copy & paste code
Clone this wiki locally