aizatto.com
search
Ctrlk
  • aizatto.com
  • Table of Contents
  • Portfolio, Projects, Tools, Toys
  • Interview Guidechevron-right
  • Engineering Codechevron-right
  • Engineering Managementchevron-right
  • Why GitBook?
  • Getting into Techchevron-right
  • Personal Goals
  • Daily Drivers
  • Contacting Me
  • Notes
    • JavaScriptchevron-right
      • Array
      • Async & Await / Promises
      • Booleans
      • Collections
      • Cons/Dislikes
      • fetch
      • Map
      • Modules
      • Object
      • Regex
      • Set
      • Style Guides
      • Versions
    • Node.jschevron-right
    • Technical Due Diligence
    • Archivechevron-right
  • More on Notionarrow-up-right-from-square
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Noteschevron-right
  2. JavaScript

Style Guides

  • http://jscs.infoarrow-up-right

  • http://eslint.orgarrow-up-right

  • https://github.com/rwaldron/idiomatic.jsarrow-up-right

  • https://contribute.jquery.org/style-guide/js/arrow-up-right

  • https://google.github.io/styleguide/jsguide.htmlarrow-up-right

  • https://github.com/airbnb/javascriptarrow-up-right

  • https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#JavaScript_objectsarrow-up-right

  • http://standardjs.com/arrow-up-right

Personal Opinion

Google

AirBNB

jQuery

Standard

Semicolons

Required

Requiredarrow-up-right

Requiredarrow-up-right

Requiredarrow-up-right

Not Requiredarrow-up-right

import/export

DO NOT USEarrow-up-right

Usearrow-up-right

require()

Custom Solutionarrow-up-right

DO NOT USEarrow-up-right

Trailing Commas

Required

Requiredarrow-up-right

Requiredarrow-up-right

camelCase

parameter names, local variables

objects, functions, instances, local variables

blank

objects, functions, instances

hashtag

PreviousSetchevron-leftNextVersionschevron-right

Last updated 6 years ago

Was this helpful?

Was this helpful?