Skip to content
This repository

Style Guide 

Joe Turner edited this page · 1 revision

Style Guide

Although the coding style for Audiolet is not super-prescriptive, it roughly follows the Google JavaScript style guide. The really important stuff which I try to stick to from this is:

  • Four spaces for indentation
  • Lines no longer than 80 characters
  • JSDoc style documentation.

Otherwise readability is king, so if it looks good and is fairly close to the guidelines then go for it.

Audiolet is semi-regularly run through the Closure Linter, so if any code you write passes through that then I'm generally happy.

Something went wrong with that request. Please try again.