Link Search Menu Expand Document

Style

Code style guidelines. We use prettier to autoformat the code on every commit which helps with most conventional styling conventions. This page lists some additional conventions not covered by prettier.

  • when importing modules, unless your working with an all javascript package, we want to use import syntax over require syntax
  • unless there's an obvious performance penalty, we prefer using async/await and Promises over callbacks