Skip to content
This repository was archived by the owner on Feb 12, 2023. It is now read-only.

Latest commit

 

History

History
31 lines (18 loc) · 703 Bytes

File metadata and controls

31 lines (18 loc) · 703 Bytes

Style Guide

We followed Airbnb ES5 as our style guide.

Tools

Make sure you have Node.js installed!

js-beautify

Installation

  • Install Sublime Text 3 package HTML-CSS-JS Pretiffy

Usage

  • Copy .jsbeautifyrc into your project folder.
  • Prettify your code (shift-command-h, by default).

eslint

Installation

  • sudo npm install -g eslint
  • Install Sublime Text 3 package SublimeLinter
  • Install Sublime Text 3 package SublimeLinter-contrib-eslint

Usage

  • Copy .eslintrc.json into root directory.
  • Configure your Sublime Text to lint on-the-fly or manually (Tools > SublimeLinter > Lint Mode).