TL;DR: Vá para a Instalação Rápida.
- Primeiramente, instale o Package Control. Link: https://sublime.wbond.net/installation
- Obs: Para verificar se está instalado:
cmd+shift+p
, digitePackage Control
e observe se apareceu algum comando.
- Instale o plugin SublimeLinter. Acione
ctrl+cmd+p
, digiteinstall
e pressione Enter. Aguarde oPackage Control
carregar os repositórios. Na janela de comando, digiteSublimeLinter
e pressione Enter. Aguarde até a finalização do processo. O status pode ser observado na barra inferior do editor. - Instale o plugin
SublimeLinter-jshint
. Repita o passo anterior com o nomeSublimeLinter-jshint
. - Instale o binário do JSHint. No terminal, digite
npm install jshint -g
- Obs: Para quem não usa o nvm, será necessário executar o comando como super user:
sudo npm install jshint -g