Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 580 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 580 Bytes

javascript-style-guide

javascript style guide

Opening braces go on the same line

if (test) return false;

if (test) {
  return false;
}

120 characters per line

1 Tab for indention

Use Semicolons

Naming Conventions

  1. Use camelCase when naming objects, functions, and instances.
  2. Use PascalCase when naming constructors or classes.
  3. Use a leading underscore _ when naming private properties.

참고

https://github.com/jscs-dev/node-jscs http://jshint.com/docs/options/ https://github.com/airbnb/javascript/blob/master/README.md