Skip to content
This repository has been archived by the owner on Feb 6, 2019. It is now read-only.

Latest commit

 

History

History
28 lines (27 loc) · 989 Bytes

JSCS for Sublime 3.md

File metadata and controls

28 lines (27 loc) · 989 Bytes


JSCS for Sublime 3


~ Plugin for SublimeLinter to utilize jscs (linting) ~ Used for files with the following syntax:

  • Javascript “
  • JavaScript Next
  • JavaScript (JSX)
  • JavaScript (Babel)

Installation

~ Must have jcsc installed on system

  1. Install Node.js (and npm on Linux)
  2. Install jscs: $ npm install -g jscs - If you are using zsh and on-my-zsh, do not load the nvm plugin for oh-my-zsh - Note: This plugin requires jscs 1.0.10 or later, though it requires 1.9.0 or later for JSX support ~ Must have SublimeLinter 3 ~ To Install Plugin
  3. In SublimeText, open Command Palette (shift + command + P)
  4. Type 'install'
  5. Click on 'Package Control: Install Package'
  6. When plugin list appears, type 'jscs'
  7. Click on 'SublimeLinter-jscs'