Socket
Book a DemoInstallSign in
Socket

jshint-mode

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jshint-mode

JSHint

npmnpm
Version
0.0.1
Version published
Weekly downloads
1
Maintainers
0
Weekly downloads
 
Created
Source

jshint-mode

A work in progress to integrate jshint into emacs via a node.js server, heavily inspited by Kevin Turners lintnode (https://github.com/keturn/lintnode) much thanks.

Dependencies

node.js (http://nodejs.org/)

Building

git clone git://github.com/daleharvey/jshint-mode.git

Usage

To run from the command line:

$ node jshint-mode.js
$ curl --form source="<path/to/my.js" --form=filename="my.js" http://127.0.0.1:3003/jshint

To run within emacs (add this to your .emacs)

 (add-to-list 'load-path "~/lib/jshint-mode")
 (require 'flymake-jshint)
 (add-hook 'javascript-mode-hook
     (lambda () (flymake-mode t)))

You need to start the node server manually

$ node jshint-mode.js

and then run M-x flymake-mode to turn jshint on and off

FAQs

Package last updated on 22 Mar 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts