Skip to content

WizardFactory/javascript-style-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published